1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 18:39:57 +00:00
TiddlyWiki5/test/tiddlywiki.2.6.5/source/tiddlywiki/bldalpha
Jeremy Ruston 07df513140 Revised test data
Testing against the output of cook.rb isn't satisfactory because of the
bugs in it; instead we're now going to test against the tiddlywiki.com
build products
2011-12-03 11:41:25 +00:00

19 lines
616 B
Bash
Executable File

#!/usr/bin/env bash
# Usage:
# bldalpha [release]
# Requires a cook script on $PATH.
# See 'cook' in this directory for a sample.
DEFAULT_RELEASE=`cat ALPHA`
RELEASE=${1:-$DEFAULT_RELEASE}
RECIPE=$PWD/tiddlywiki.html.recipe
RECIPE_EXT_JS=$PWD/tiddlywiki_externaljs.html.recipe
RECIPE_EXT_JS_TS=$PWD/tiddlywiki_externaljs_tiddlyspace_alpha.html.recipe
cook $RECIPE tiddlywiki.$RELEASE.html
cook $RECIPE tiddlywiki_compressed.$RELEASE.html -cr -Cr -Dr
cook $RECIPE twcore.$RELEASE.js -j
cook $RECIPE_EXT_JS tiddlywiki_externaljs.$RELEASE.html
cook $RECIPE_EXT_JS_TS tiddlywiki_externaljs_tiddlyspace.$RELEASE.html