| 1 |
The D language scripts in this directory are used during the syncing of |
| 2 |
libphobos with upstream. They can be built with the command: |
| 3 |
|
| 4 |
dub build --single name-of-script.d |
| 5 |
|
| 6 |
Or when dub isn't available: |
| 7 |
|
| 8 |
gdc -o name-of-script name-of-script.d [any other dependencies].d |
| 9 |
|
| 10 |
Scripts: |
| 11 |
|
| 12 |
gen_druntime_sources.d |
| 13 |
|
| 14 |
Generates source file definitions for libphobos/libdruntime/Makefile.am. |
| 15 |
Ran from the libdruntime directory and append output to Makefile.am. |
| 16 |
|
| 17 |
Example: |
| 18 |
|
| 19 |
cd libdruntime && ../scripts/gen_druntime_sources >> Makefile.am |
| 20 |
|
| 21 |
gen_phobos_sources.d |
| 22 |
|
| 23 |
Generates source file definitions for libphobos/src/Makefile.am. Ran from |
| 24 |
the libphobos/src directory and append output to Makefile.am. |
| 25 |
|
| 26 |
Example: |
| 27 |
|
| 28 |
cd src && ../scripts/gen_phobos_sources >> Makefile.am |
| 29 |
|
| 30 |
tests_extractor.d |
| 31 |
|
| 32 |
Searches the given input directory recursively for public unittest blocks |
| 33 |
(annotated with three slashes). The tests will be extracted as one file for |
| 34 |
each source file to the output directory. Used to regenerate all tests |
| 35 |
cases in testsuite/libphobos.phobos. |
| 36 |
|
| 37 |
Example: |
| 38 |
|
| 39 |
./tests_extractor -i ../libphobos/src -o ../testsuite/libphobos.phobos |