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