Examples now use dub instead of Makefiles.

This commit is contained in:
Ferdinand Majerech 2014-08-01 17:06:23 +02:00
parent 264b8b9d1e
commit 0dbe638296
15 changed files with 70 additions and 35 deletions

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
clean:
rm main main.o

View file

@ -0,0 +1,10 @@
{
"name": "constructor",
"targetType": "executable",
"sourceFiles": ["main.d"],
"mainSourceFile": "main.d",
"dependencies":
{
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
},
}

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
clean:
rm main main.o

View file

@ -0,0 +1,10 @@
{
"name": "getting-started",
"targetType": "executable",
"sourceFiles": ["main.d"],
"mainSourceFile": "main.d",
"dependencies":
{
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
},
}

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
clean:
rm main main.o

View file

@ -0,0 +1,10 @@
{
"name": "representer",
"targetType": "executable",
"sourceFiles": ["main.d"],
"mainSourceFile": "main.d",
"dependencies":
{
"dyaml": { "version" : "~>0.5.0", "path" : "../../"},
},
}

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml main.d
clean:
rm main main.o

View 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

Binary file not shown.

View file

@ -1,5 +0,0 @@
main:
dmd -w -gc -I../../source -L-L../../ -L-ldyaml yaml_bench.d
clean:
rm yaml_bench yaml_bench.o

View 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" : "../../"},
},
}

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml yaml_gen.d
clean:
rm yaml_gen yaml_gen.o

View 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" : "../../"},
},
}

View file

@ -1,5 +0,0 @@
main:
dmd -w -I../../source -L-L../../ -L-ldyaml yaml_stats.d
clean:
rm yaml_stats yaml_stats.o

View 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" : "../../"},
},
}