Nimble is officially a part of Nim now
This commit is contained in:
parent
0f2a37cf1b
commit
49d810f341
4 changed files with 41 additions and 5 deletions
13
install_nimble.nims
Normal file
13
install_nimble.nims
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
mode = ScriptMode.Verbose
|
||||
|
||||
var id = 0
|
||||
while dirExists("nimble" & $id):
|
||||
inc id
|
||||
|
||||
exec "git clone https://github.com/nim-lang/nimble.git nimble" & $id
|
||||
|
||||
withDir "nimble" & $id & "/src":
|
||||
exec "nim c nimble"
|
||||
|
||||
mvFile "nimble" & $id & "/src/nimble".toExe, "bin/nimble".toExe
|
||||
Loading…
Add table
Add a link
Reference in a new issue