add Rsconscript and initial source file

This commit is contained in:
Josh Holtrop 2020-02-09 22:09:02 -05:00
parent 4b7ead8706
commit 776bed33c7
3 changed files with 17 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/.rscons* /.rscons*
/build/ /build/
/peg-puzzle

9
Rsconscript Normal file
View File

@ -0,0 +1,9 @@
configure do
check_d_compiler
end
build do
Environment.new do |env|
env.Program("peg-puzzle", glob("src/**/*.d"))
end
end

7
src/main.d Normal file
View File

@ -0,0 +1,7 @@
import std.stdio;
int main(string[] args)
{
writeln("Peg Puzzle");
return 0;
}