summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2018-03-04 16:29:57 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2018-03-04 16:29:57 +0200
commitd82cbba2aa24df5b720807db9cb9596c1a711f36 (patch)
treee8db99f59b4819ca372d8eb614e04d9d58a08d9c
downloadtommath-nim-d82cbba2aa24df5b720807db9cb9596c1a711f36.tar.gz
tommath-nim-d82cbba2aa24df5b720807db9cb9596c1a711f36.zip
initial commit
-rw-r--r--src/tommath_nim.nim3
-rw-r--r--tests/test1.nim1
-rw-r--r--tests/test1.nims1
-rw-r--r--tommath_nim.nimble14
4 files changed, 19 insertions, 0 deletions
diff --git a/src/tommath_nim.nim b/src/tommath_nim.nim
new file mode 100644
index 0000000..f7de5cc
--- /dev/null
+++ b/src/tommath_nim.nim
@@ -0,0 +1,3 @@
+# tommath_nim
+# Copyright Oskari Timperi
+# A new awesome nimble package
diff --git a/tests/test1.nim b/tests/test1.nim
new file mode 100644
index 0000000..ba13c99
--- /dev/null
+++ b/tests/test1.nim
@@ -0,0 +1 @@
+doAssert(1 + 1 == 2)
diff --git a/tests/test1.nims b/tests/test1.nims
new file mode 100644
index 0000000..3bb69f8
--- /dev/null
+++ b/tests/test1.nims
@@ -0,0 +1 @@
+switch("path", "$projectDir/../src") \ No newline at end of file
diff --git a/tommath_nim.nimble b/tommath_nim.nimble
new file mode 100644
index 0000000..440dd7a
--- /dev/null
+++ b/tommath_nim.nimble
@@ -0,0 +1,14 @@
+# Package
+
+version = "0.1.0"
+author = "Oskari Timperi"
+description = "A new awesome nimble package"
+license = "MIT"
+srcDir = "src"
+
+# Dependencies
+
+requires "nim >= 0.18.0"
+
+before install:
+ exec "git clone --branch v1.0.1 https://github.com/libtom/libtommath.git"