Skip to content

Commit

Permalink
Add test on release/danger mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Oct 22, 2023
1 parent 801ab3a commit 5ff1218
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions regex.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ task test2, "Test":
exec "nim js -r src/regex.nim"
exec "nim js -r tests/tests2.nim"
exec "nim js -r -d:forceRegexAtRuntime tests/tests2.nim"
# test release/danger mode
exec "nim c -r -d:release -o:bin/regex src/regex.nim"
exec "nim c -r -d:danger -o:bin/regex src/regex.nim"
# Test runnable examples
when (NimMajor, NimMinor) >= (1, 1):
exec "nim doc -o:./docs/ugh/ugh.html ./src/regex.nim"
Expand Down

0 comments on commit 5ff1218

Please sign in to comment.