move parseInt to jstrutils.nim to avoid conflicts; introduce travis testing

This commit is contained in:
Araq 2017-06-16 16:45:06 +02:00
commit 08538f7f26
4 changed files with 34 additions and 3 deletions

15
tests/tester.nim Normal file
View 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()