mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-30 12:00:28 +00:00
d58bc33df4
For "master" we need to rebuild the prerelease; for "tiddlywiki-com" we need to rebuild the main release using the latest release. I want to have as much of the travis specific build logic expressed in travis.yml as possible, hence having to figure out Travis's syntax rather than doing everything in a script that tests the $TRAVIS_BRANCH environment variable...
15 lines
363 B
Bash
Executable File
15 lines
363 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# test TiddlyWiki5 for tiddlywiki.com
|
|
|
|
# Run the test edition to run the node.js tests and to generate test.html for tests in the browser
|
|
|
|
node ./tiddlywiki.js \
|
|
./editions/test \
|
|
--verbose \
|
|
--version \
|
|
--rendertiddler $:/core/save/all test.html text/plain \
|
|
|| exit 1
|
|
|
|
echo To run the tests in a browser, open "editions/test/output/test.html"
|