diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-10-21 01:10:22 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-10-21 01:10:22 +0200 |
commit | 08d82e4b13c9dc99cd82550f611cead3c0b4d8c0 (patch) | |
tree | 97a041e93eab929fb10a4a3b918679e7b8d17f64 /koch.nim | |
parent | 50d593787f0fddc67f27ad926df06c6bab25883e (diff) | |
download | Nim-08d82e4b13c9dc99cd82550f611cead3c0b4d8c0.tar.gz |
add 'koch install' again for backwards compat
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/koch.nim b/koch.nim index 25c02937f..9857aff74 100644 --- a/koch.nim +++ b/koch.nim @@ -213,6 +213,10 @@ proc geninstall(args="") = exec("$# cc -r $# --var:version=$# --var:mingw=none --main:compiler/nim.nim scripts compiler/installer.ini $#" % [findNim(), compileNimInst, VersionAsString, args]) +proc install(args: string) = + geninstall() + exec("sh ./install.sh $#" % args) + proc web(args: string) = exec("$# js tools/dochack/dochack.nim" % findNim()) exec("$# cc -r tools/nimweb.nim $# web/website.ini --putenv:nimversion=$#" % @@ -377,6 +381,7 @@ of cmdArgument: of "nsis": nsis(op.cmdLineRest) of "geninstall": geninstall(op.cmdLineRest) of "distrohelper": geninstall() + of "install": install(op.cmdLineRest) of "testinstall": testUnixInstall() of "test", "tests": tests(op.cmdLineRest) of "temp": temp(op.cmdLineRest) |