Examples now use dub instead of Makefiles.
This commit is contained in:
parent
264b8b9d1e
commit
0dbe638296
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
|
||||
|
||||
clean:
|
||||
rm main main.o
|
10
examples/constructor/dub.json
Normal file
10
examples/constructor/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "constructor",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["main.d"],
|
||||
"mainSourceFile": "main.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
|
||||
|
||||
clean:
|
||||
rm main main.o
|
10
examples/getting_started/dub.json
Normal file
10
examples/getting_started/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "getting-started",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["main.d"],
|
||||
"mainSourceFile": "main.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
|
||||
|
||||
clean:
|
||||
rm main main.o
|
10
examples/representer/dub.json
Normal file
10
examples/representer/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "representer",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["main.d"],
|
||||
"mainSourceFile": "main.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
|
||||
|
||||
clean:
|
||||
rm main main.o
|
10
examples/resolver/dub.json
Normal file
10
examples/resolver/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "resolver",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["main.d"],
|
||||
"mainSourceFile": "main.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
BIN
examples/resolver/resolver
Executable file
BIN
examples/resolver/resolver
Executable file
Binary file not shown.
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -gc -I../../source -L-L../../ -L-ldyaml yaml_bench.d
|
||||
|
||||
clean:
|
||||
rm yaml_bench yaml_bench.o
|
10
examples/yaml_bench/dub.json
Normal file
10
examples/yaml_bench/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "yaml_bench",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["yaml_bench.d"],
|
||||
"mainSourceFile": "yaml_bench.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml yaml_gen.d
|
||||
|
||||
clean:
|
||||
rm yaml_gen yaml_gen.o
|
10
examples/yaml_gen/dub.json
Normal file
10
examples/yaml_gen/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "yaml_gen",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["yaml_gen.d"],
|
||||
"mainSourceFile": "yaml_gen.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
main:
|
||||
dmd -w -I../../source -L-L../../ -L-ldyaml yaml_stats.d
|
||||
|
||||
clean:
|
||||
rm yaml_stats yaml_stats.o
|
10
examples/yaml_stats/dub.json
Normal file
10
examples/yaml_stats/dub.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "yaml_stats",
|
||||
"targetType": "executable",
|
||||
"sourceFiles": ["yaml_stats.d"],
|
||||
"mainSourceFile": "yaml_stats.d",
|
||||
"dependencies":
|
||||
{
|
||||
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue