update to Nim 1.0.0

This commit is contained in:
2019-11-03 14:11:14 +00:00
parent e607903708
commit 8a83784366
6 changed files with 11 additions and 1 deletions

7
config.nims Normal file
View File

@@ -0,0 +1,7 @@
# mode = ScriptMode.Whatif
task build, "builds an example":
setCommand("c", "src/sdlife/main.nim")
for i in 0..paramCount():
let param = paramStr(i)
if param == "-d:wasm":
cpFile("resources/index.html", "build/index.html")