mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-09 22:25:51 +00:00
code cleanup
This commit is contained in:
parent
beae8a4283
commit
2bae744c5c
@ -40,10 +40,9 @@ proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
|||||||
try:
|
try:
|
||||||
exec(cmd)
|
exec(cmd)
|
||||||
finally:
|
finally:
|
||||||
if defined(macosx):
|
if defined(macosx):
|
||||||
renameFile(newVersionFile, oldVersionFile)
|
renameFile(newVersionFile, oldVersionFile)
|
||||||
|
|
||||||
|
|
||||||
proc test(name: string, srcDir = "tests/", params = "", lang = "c") =
|
proc test(name: string, srcDir = "tests/", params = "", lang = "c") =
|
||||||
buildBinary name, srcDir, params
|
buildBinary name, srcDir, params
|
||||||
exec "build/" & name
|
exec "build/" & name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user