Skip to content

Commit cf04b3c

Browse files
committed
add a test script
1 parent 0a60433 commit cf04b3c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

appveyor.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,18 @@ branches:
44

55
install:
66
- ps: Start-FileDownload 'http://leafo.net/dump/lua5_1_4_Win32_dll8_lib.zip'
7+
- ps: Start-FileDownload 'http://leafo.net/dump/lua5_1_4_Win32_bin.zip'
78
- 7z x lua5_1_4_Win32_dll8_lib.zip
9+
- 7z x lua5_1_4_Win32_bin.zip
810
- set PATH=C:\MinGW\bin;C:\MinGW\msys\1.0\bin;%PATH%
911
- dir .
1012

1113
build_script:
1214
- make
15+
16+
test_script:
17+
- moon.exe test.moon
18+
- moonc.exe test.moon
19+
- lua5.1.exe -e 'print(require("moonscript.version").version)'
20+
21+

test.moon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print "It works!"

0 commit comments

Comments
 (0)