mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 10:59:57 +00:00
8ed8772b82
These changes allow tiddlywiki.js to cook it's own components into a skeletal new-school client-side TiddlyWiki.
13 lines
294 B
Bash
Executable File
13 lines
294 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# build TiddlyWiki5
|
|
|
|
# create a temporary directory if it doesn't already exist
|
|
mkdir -p tmp
|
|
|
|
mkdir -p tmp/tw5
|
|
node tiddlywiki.js --recipe $PWD/tiddlywiki5/tiddlywiki5.recipe --savewiki tmp/tw5 || exit 1
|
|
|
|
# open the result
|
|
open -a /Applications/Google\ Chrome.app tmp/tw5/index.html
|