mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-01 06:41:18 -08:00
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...
14 lines
363 B
Bash
Executable file
14 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"
|