aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-24 20:15:24 -0800
committergenotrance <dev@genotrance.com>2019-01-24 22:15:24 -0600
commit0f8678e9b26df2a0ac81a72ddc80305b187890fe (patch)
tree57bfb6402ece1c8c0fb8aad7e42310d9318ecbfd
parentc3e442474b2ac450fd9d754cf7ab298d3c2ac65a (diff)
downloadnimterop-0f8678e9b26df2a0ac81a72ddc80305b187890fe.tar.gz
nimterop-0f8678e9b26df2a0ac81a72ddc80305b187890fe.zip
fix gitignore (#64)
-rw-r--r--.gitignore8
-rw-r--r--build/.gitignore4
-rw-r--r--nimterop.nimble6
3 files changed, 13 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 7969ea3..5533238 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,13 @@
+# TODO: all generated stuff should go inside `build/`
+
nimcache
.DS_Store
*.exe
*.swp
-toast
+
+# Note: use absolute paths to refer to a path assumed to be at a fixed dir level
+/toast
+
inc
-tests \ No newline at end of file
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..f72369d
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1,4 @@
+# everything generated should go in this dir
+*
+!/.gitignore
+
diff --git a/nimterop.nimble b/nimterop.nimble
index d72ab8d..082331b 100644
--- a/nimterop.nimble
+++ b/nimterop.nimble
@@ -10,10 +10,10 @@ installDirs = @["nimterop"]
# Dependencies
-requires "nim >= 0.19.0", "regex >= 0.10.0", "cligen >= 0.9.17"
+requires "nim >= 0.19.2", "regex >= 0.10.0", "cligen >= 0.9.17"
proc execCmd(cmd: string) =
- echo cmd
+ echo "execCmd:" & cmd
exec cmd
proc tsoloud() =
@@ -38,4 +38,4 @@ task docs, "Generate docs":
# Uses: pip install ghp-import
execCmd "nim doc --project --index:on nimterop/cimport"
execCmd "nim doc --project --index:on nimterop/git"
- execCmd "ghp-import --no-jekyll -fp nimterop/htmldocs" \ No newline at end of file
+ execCmd "ghp-import --no-jekyll -fp nimterop/htmldocs"