-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nimble test
keeps git status clean; prevents accidental checking in…
… of binaries etc (#786) * * try as much as possible to build test artifacts under a single dir (can be improved later) * simplify gitignore logic * fixup after rebase * fix test
- Loading branch information
1 parent
40ce315
commit 686555c
Showing
4 changed files
with
38 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
tester | ||
# ideally this shouldn't even be needed and all generated files would go under ../buildTests/ | ||
|
||
# tester | ||
/nimble-test | ||
/buildDir | ||
/binaryPackage/v1/binaryPackage | ||
/binaryPackage/v2/binaryPackage | ||
/develop/dependent/src/dependent | ||
/issue27/issue27 | ||
/issue206/issue/issue206bin | ||
/issue289/issue289 | ||
/issue428/nimbleDir/ | ||
/nimbleDir/ | ||
/packageStructure/c/c | ||
/packageStructure/y/y | ||
/testCommand/testOverride/myTester | ||
/testCommand/testsFail/tests/a | ||
/testCommand/testsFail/tests/b | ||
/testCommand/testsPass/tests/one | ||
/testCommand/testsPass/tests/three | ||
/testCommand/testsPass/tests/two | ||
/nimscript/nimscript | ||
/packageStructure/validBinary/y | ||
/testCommand/testsFail/tests/t2 | ||
/passNimFlags/passNimFlags | ||
/issue799/issue799 | ||
/issue308515/v1/binname.out | ||
/issue308515/v2/binname.out | ||
/localdeps/nimbledeps/ | ||
/multi/ | ||
/packagea/ | ||
|
||
|
||
# occurs on multiple levels | ||
nimbleDir/ | ||
|
||
# generated nims files | ||
*_*.nims |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# this also doesn't work (even in nims): --outdir:"$nimcache/buildTests" | ||
import os | ||
let buildDir = currentSourcePath().parentDir.parentDir / "buildTests" | ||
switch("outdir", buildDir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters