summary refs log tree commit diff stats
path: root/install_nimble.nims
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-01-06 13:10:51 +0100
committerAraq <rumpf_a@web.de>2017-01-06 13:11:17 +0100
commit4b73194bb0ebb9c7c1f36b98d4dad2ba543622ed (patch)
treece77fbe028282a2a33c32835287b2a111d73f8e2 /install_nimble.nims
parent4910a87c6f8ceded56750bd2dc4cd3fe4db55966 (diff)
downloadNim-4b73194bb0ebb9c7c1f36b98d4dad2ba543622ed.tar.gz
koch and nims updates
Diffstat (limited to 'install_nimble.nims')
-rw-r--r--install_nimble.nims21
1 files changed, 1 insertions, 20 deletions
diff --git a/install_nimble.nims b/install_nimble.nims
index 6e929f499..e1b665d58 100644
--- a/install_nimble.nims
+++ b/install_nimble.nims
@@ -1,25 +1,6 @@
 
-import ospaths
-
 mode = ScriptMode.Verbose
 
 echo "This script is deprecated. Use 'koch nimble' instead."
 
-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"
-
-mkDir "bin/nimblepkg"
-for file in listFiles("nimble" & $id & "/src/nimblepkg/"):
-  cpFile file, "bin/nimblepkg/" & file.extractFilename
-
-try:
-  mvFile "nimble" & $id & "/src/nimble".toExe, "bin/nimble".toExe
-except OSError:
-  cpFile "nimble" & $id & "/src/nimble".toExe, "bin/nimble".toExe
-
+exec "koch nimble"