deprecate install_tools.nims in favor of 'koch tools'; refs #4934

This commit is contained in:
Araq 2016-10-24 16:21:52 +02:00
commit 41f32f5fb6
2 changed files with 46 additions and 24 deletions

View file

@ -3,6 +3,8 @@ import ospaths
mode = ScriptMode.Verbose
echo "This script is deprecated. Use 'koch tools' instead."
if not dirExists"dist/nimble":
echo "[Error] This script only works for the tarball."
else:
@ -11,8 +13,8 @@ else:
" dist/nimble/src/nimble.nim"
let nimsugExe = "./bin/nimsuggest".toExe
selfExec "c --noNimblePath -p:compiler -o:" & nimsugExe &
selfExec "c --noNimblePath -d:release -p:compiler -o:" & nimsugExe &
" dist/nimsuggest/nimsuggest.nim"
let nimgrepExe = "./bin/nimgrep".toExe
selfExec "c -o:./bin/nimgrep tools/nimgrep.nim"
selfExec "c -d:release -o:" & nimgrepExe & " tools/nimgrep.nim"