summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-01-07 00:30:53 +0100
committerAraq <rumpf_a@web.de>2017-01-07 00:31:03 +0100
commita17d996be9a7dd9086a1a4707486dd6b213ed632 (patch)
tree5df4661cb97f110994e84fb345e5e73b860ba865
parent5a64e1a53145699f2dfdf86b0c8c3c87ddf2cd8a (diff)
downloadNim-a17d996be9a7dd9086a1a4707486dd6b213ed632.tar.gz
use new nimble file format to make Nim's version DRY
-rw-r--r--compiler.nimble9
-rw-r--r--lib/stdlib.nimble4
2 files changed, 6 insertions, 7 deletions
diff --git a/compiler.nimble b/compiler.nimble
index 2a528ea8b..fef0cdad7 100644
--- a/compiler.nimble
+++ b/compiler.nimble
@@ -1,11 +1,10 @@
-[Package]
+
 name = "compiler"
-version = "0.15.3"
+version = system.NimVersion
 author = "Andreas Rumpf"
 description = "Compiler package providing the compiler sources as a library."
 license = "MIT"
 
-InstallDirs = "compiler"
+installDirs = @["compiler"]
 
-[Deps]
-Requires: "nim >= 0.14.0"
+requires "nim >= 0.14.0"
diff --git a/lib/stdlib.nimble b/lib/stdlib.nimble
index 6949bfcc4..45308b5b4 100644
--- a/lib/stdlib.nimble
+++ b/lib/stdlib.nimble
@@ -1,6 +1,6 @@
-[Package]
+
 name          = "stdlib"
-version       = "0.15.3"
+version       = system.NimVersion
 author        = "Dominik Picheta"
 description   = "Nim's standard library."
 license       = "MIT"