1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 02:49:56 +00:00
TiddlyWiki5/test/tiddlywiki.2.6.5/source/tiddlywiki/cook
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

25 lines
667 B
Bash
Executable File

#!/bin/sh
# This is a sample cook script to be used with the build scripts
# and Makefile for TiddlyWiki. Adjust this script and then install
# it somewhere on your $PATH, such as ~/bin.
#
# You will need to adjust DEFAULT_TRUNK and COOKER_TRUNK below.
# change this to where your tiddlywiki repo lives,
# unless you have TW_TRUNKDIR set.
DEFAULT_TRUNK=/Users/cdent/src/tiddlywiki
# Change this to where you have the cooker code installed
COOKER_TRUNK=/Users/cdent/src/cooker
if [ -z "$TW_TRUNKDIR" ]
then
export TW_TRUNKDIR=$DEFAULT_TRUNK
fi
DEST=$PWD
RECIPE=$1 && shift
OUTPUT=$1 && shift
ruby -Ku -C $COOKER_TRUNK cook.rb $RECIPE -o $OUTPUT -d $DEST "$@"