1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 02:26:19 +00:00
TiddlyWiki5/test/data/tiddlywiki/cook

22 lines
650 B
Plaintext
Raw Normal View History

2011-11-22 14:29:29 +00:00
#!/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=$HOME/Documents/Code/Github/tiddlywiki
# Change this to where you have the cooker code installed
COOKER_TRUNK=$HOME/Documents/Code/Github/tiddlywiki/cooker
if [ -z "$TW_TRUNKDIR" ]
then
export TW_TRUNKDIR=$DEFAULT_TRUNK
fi
RECIPE=$1 && shift
ruby -Ku -C $COOKER_TRUNK cook.rb $RECIPE "$@"