mirror of
https://github.com/dlang/tools.git
synced 2025-04-25 20:51:00 +03:00
Make scripts executable + runnable
This commit is contained in:
parent
bc13c57460
commit
245187c7b5
11 changed files with 11 additions and 1 deletions
1
checkwhitespace.d
Normal file → Executable file
1
checkwhitespace.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/**
|
/**
|
||||||
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
|
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
|
||||||
* Source: $(DMDSRC _checkwhitespace.d)
|
* Source: $(DMDSRC _checkwhitespace.d)
|
||||||
|
|
1
chmodzip.d
Normal file → Executable file
1
chmodzip.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
|
|
||||||
import core.stdc.stdlib;
|
import core.stdc.stdlib;
|
||||||
import std.conv;
|
import std.conv;
|
||||||
|
|
1
ddemangle.d
Normal file → Executable file
1
ddemangle.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/**
|
/**
|
||||||
* An improved D symbol demangler.
|
* An improved D symbol demangler.
|
||||||
*
|
*
|
||||||
|
|
1
detab.d
Normal file → Executable file
1
detab.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/* Distributed under the Boost Software License, Version 1.0.
|
/* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
1
dget.d
Normal file → Executable file
1
dget.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
// Copyright Martin Nowak 2012.
|
// Copyright Martin Nowak 2012.
|
||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
|
1
dman.d
Normal file → Executable file
1
dman.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/* Distributed under the Boost Software License, Version 1.0.
|
/* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
3
get_dlibcurl32.d
Normal file → Executable file
3
get_dlibcurl32.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/++
|
/++
|
||||||
This Windows-only tool automatically downloads Win32 libcurl binaries and
|
This Windows-only tool automatically downloads Win32 libcurl binaries and
|
||||||
generates a libcurl.lib compatible with Win32 DMD (which is needed by
|
generates a libcurl.lib compatible with Win32 DMD (which is needed by
|
||||||
|
@ -258,4 +259,4 @@ void implib(string libName)
|
||||||
auto implibTool = hasImplib? "implib" : buildPath(workDir, `bup\dm\bin\implib.exe`);
|
auto implibTool = hasImplib? "implib" : buildPath(workDir, `bup\dm\bin\implib.exe`);
|
||||||
auto libBaseName = baseName(libName);
|
auto libBaseName = baseName(libName);
|
||||||
run(implibTool~" /s "~quote(libBaseName~".lib")~" "~quote(libBaseName~".dll"));
|
run(implibTool~" /s "~quote(libBaseName~".lib")~" "~quote(libBaseName~".dll"));
|
||||||
}
|
}
|
||||||
|
|
1
rdmd.d
Normal file → Executable file
1
rdmd.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2008 by Andrei Alexandrescu
|
* Copyright (C) 2008 by Andrei Alexandrescu
|
||||||
* Written by Andrei Alexandrescu, www.erdani.org
|
* Written by Andrei Alexandrescu, www.erdani.org
|
||||||
|
|
1
rdmd_test.d
Normal file → Executable file
1
rdmd_test.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/*
|
/*
|
||||||
* Distributed under the Boost Software License, Version 1.0.
|
* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
|
|
0
tests_extractor.d
Normal file → Executable file
0
tests_extractor.d
Normal file → Executable file
1
tolf.d
Normal file → Executable file
1
tolf.d
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env rdmd
|
||||||
/* Distributed under the Boost Software License, Version 1.0.
|
/* Distributed under the Boost Software License, Version 1.0.
|
||||||
* (See accompanying file LICENSE_1_0.txt or copy at
|
* (See accompanying file LICENSE_1_0.txt or copy at
|
||||||
* http://www.boost.org/LICENSE_1_0.txt)
|
* http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue