summary refs log tree commit diff stats
path: root/testament/important_packages.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-02-04 15:59:10 +0100
committerAraq <rumpf_a@web.de>2019-02-04 15:59:18 +0100
commit6e1d2df74ea37756a78c0cf8b776365a38d22f5d (patch)
treeb362d7b49d47b60a325ca9431a0e95e9ee895fcc /testament/important_packages.nim
parent9fa116b6e1e307be0aef1a23bb17526755287e77 (diff)
downloadNim-6e1d2df74ea37756a78c0cf8b776365a38d22f5d.tar.gz
testament: test nimble packages is beginning to work
Diffstat (limited to 'testament/important_packages.nim')
-rw-r--r--testament/important_packages.nim45
1 files changed, 22 insertions, 23 deletions
diff --git a/testament/important_packages.nim b/testament/important_packages.nim
index 1ded00b00..6607783ab 100644
--- a/testament/important_packages.nim
+++ b/testament/important_packages.nim
@@ -1,29 +1,28 @@
 import strutils
 
-const
-  packages* = """
-    karax
-    glob
-  """.splitWhitespace()
+template pkg(name: string; cmd = "nimble test"; version = ""): untyped =
+  packages.add((name, cmd, version))
+
+var packages*: seq[tuple[name, cmd, version: string]] = @[]
+
+pkg "karax"
+pkg "cligen"
+pkg "glob"
+pkg "regex"
+pkg "freeimage", "nim c freeimage.nim"
+pkg "zero_functional"
+pkg "nimpy", "nim c nimpy.nim"
+pkg "nimongo", "nimble test_ci"
+pkg "inim"
+
+pkg "sdl1", "nim c src/sdl.nim"
+pkg "iterutils"
+pkg "gnuplot"
+pkg "c2nim"
 
 #[
-    jester
-    cligen
-    libffi
-    nimongo
-    nimx
-    karax
-    freeimage
-    regex
-    nimpy
-    zero_functional
     arraymancer
-    inim
-    c2nim
-    sdl1
-    iterutils
-    gnuplot
     nimpb
-    lazy
-    choosenim
-]#
\ No newline at end of file
+    jester
+    nimx
+]#