mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
19 lines
509 B
Nim
19 lines
509 B
Nim
|
|
import ospaths
|
|
|
|
mode = ScriptMode.Verbose
|
|
|
|
if not dirExists"dist/nimble":
|
|
echo "[Error] This script only works for the tarball."
|
|
else:
|
|
let nimbleExe = "./bin/nimble".toExe
|
|
selfExec "c --noNimblePath -p:compiler -o:" & nimbleExe &
|
|
" dist/nimble/src/nimble.nim"
|
|
|
|
let nimsugExe = "./bin/nimsuggest".toExe
|
|
selfExec "c --noNimblePath -p:compiler -o:" & nimsugExe &
|
|
" dist/nimsuggest/nimsuggest.nim"
|
|
|
|
let nimgrepExe = "./bin/nimgrep".toExe
|
|
selfExec "c -o:./bin/nimgrep tools/nimgrep.nim"
|