fix gitignore (#64)

This commit is contained in:
Timothee Cour 2019-01-24 20:15:24 -08:00 • committed by genotrance
commit 0f8678e9b2
3 changed files with 13 additions and 5 deletions

8
.gitignore vendored
View file

@ -1,9 +1,13 @@
# TODO: all generated stuff should go inside `build/`
nimcache nimcache
.DS_Store .DS_Store
*.exe *.exe
*.swp *.swp
toast
# Note: use absolute paths to refer to a path assumed to be at a fixed dir level
/toast
inc inc
tests

4
build/.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
# everything generated should go in this dir
*
!/.gitignore

View file

@ -10,10 +10,10 @@ installDirs = @["nimterop"]
# Dependencies # 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) = proc execCmd(cmd: string) =
echo cmd echo "execCmd:" & cmd
exec cmd exec cmd
proc tsoloud() = proc tsoloud() =
@ -38,4 +38,4 @@ task docs, "Generate docs":
# Uses: pip install ghp-import # Uses: pip install ghp-import
execCmd "nim doc --project --index:on nimterop/cimport" execCmd "nim doc --project --index:on nimterop/cimport"
execCmd "nim doc --project --index:on nimterop/git" execCmd "nim doc --project --index:on nimterop/git"
execCmd "ghp-import --no-jekyll -fp nimterop/htmldocs" execCmd "ghp-import --no-jekyll -fp nimterop/htmldocs"