1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-13 21:34:51 +00:00
TiddlyWiki5/tw2/source/tiddlywiki.com/ginsu
Jeremy Ruston a1c8ac624f Added first pass at support for building TiddlyWiki 2.6.x with TW5
There are still some whitespace and attribute ordering issues, but the
result runs correctly.
2012-05-29 22:02:38 +01:00

15 lines
489 B
Bash
Executable File

#!/bin/bash
#
# This is a sample ginsu script to be used with the tiddlywiki.com scripts
# Adjust this script and then install it somewhere on your $PATH, such as ~/bin.
#
# You will need to adjust COOKER_TRUNK below.
#
# Change this to where you have the cooker code installed
COOKER_TRUNK=$HOME/Documents/Code/GitHub/tiddlywiki/cooker
DEFAULT_FILENAME=index
FILENAME=${1:-$DEFAULT_FILENAME}
DEST=$PWD
RECIPE=$PWD/$FILENAME.html
ruby -C $COOKER_TRUNK ginsu.rb $RECIPE -d$DEST $2 $3 $4 $5