move parseInt to jstrutils.nim to avoid conflicts; introduce travis testing
This commit is contained in:
parent
45931c5e4a
commit
08538f7f26
4 changed files with 34 additions and 3 deletions
15
tests/tester.nim
Normal file
15
tests/tester.nim
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# For now we only test that the things still compile.
|
||||
|
||||
import os
|
||||
|
||||
proc exec(cmd: string) =
|
||||
if os.execShellCmd(cmd) != 0:
|
||||
quit "command failed " & cmd
|
||||
|
||||
proc main =
|
||||
exec("nim js tests/diffDomTests.nim")
|
||||
exec("nim js examples/todoapp/todoapp.nim")
|
||||
exec("nim js examples/scrollapp/scrollapp.nim")
|
||||
exec("nim js examples/mediaplayer/playerapp.nim")
|
||||
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue