travis: another js fix

pull/2001/head
Alexander Medvednikov 2019-09-16 21:15:33 +03:00 committed by GitHub
parent f7a0fefe27
commit ca239fcf98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -76,11 +76,11 @@ script:
fi fi
- | - |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
# Build Vid
git clone https://github.com/vlang/vid
cd vid && ../v -debug -o vid .
# Build hi.js # Build hi.js
echo "println('Hello from V.js')" > hi.js echo "println('Hello from V.js')" > hi.js
./v -o hi.js hi.v && node hi.js ./v -o hi.js hi.v && node hi.js
# Build Vid
git clone https://github.com/vlang/vid
cd vid && ../v -debug -o vid .
fi fi