1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 00:04:51 +00:00
TiddlyWiki5/run.sh
2012-05-05 23:32:04 +01:00

25 lines
550 B
Bash
Executable File

#!/bin/sh
# run TiddlyWiki5
pushd tw5.com > /dev/null
node ../core/boot.js \
--verbose \
--wikitest ../tests/wikitests/ \
|| exit 1
popd > /dev/null
# run jshint
jshint ./core/*.js
jshint ./core/modules/*.js
jshint ./core/modules/commands/*.js
jshint ./core/modules/macros/*.js
jshint ./core/modules/macros/edit/*.js
jshint ./core/modules/macros/edit/editors/*.js
jshint ./core/modules/parsers/*.js
jshint ./core/modules/parsers/wikitextparser/*.js
jshint ./core/modules/parsers/wikitextparser/rules/*.js
jshint ./core/modules/treenodes/*.js