Moved -d:release to nimble file, renamed wrc20.nims to config.nims

This commit is contained in:
Yuriy Glukhov 2018-12-11 11:11:27 +02:00
parent 49db84dcd9
commit a77ee65615
2 changed files with 1 additions and 2 deletions

View File

@ -9,7 +9,7 @@ skipDirs = @["examples"]
requires "nim >= 0.18.1", "stint" requires "nim >= 0.18.1", "stint"
proc buildExample(name: string) = proc buildExample(name: string) =
exec "nim c --out:examples/" & name & ".wasm examples/" & name exec "nim c -d:release --out:examples/" & name & ".wasm examples/" & name
exec "./postprocess.sh examples/" & name & ".wasm" exec "./postprocess.sh examples/" & name & ".wasm"
task examples, "Build examples": task examples, "Build examples":

View File

@ -2,7 +2,6 @@
--cpu:i386 --cpu:i386
--cc:clang --cc:clang
--gc:none --gc:none
--d:release
--nomain --nomain
--opt:speed --opt:speed