forked from TiddlyWiki/TiddlyWikiClassic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (21 loc) · 689 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (21 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Start at a Makefile or managing build activities.
# Expects a 'cook' script somewhere on the $PATH.
# See 'cook' in this directory for a sample you can use.
# For now users the OSX specific "open" to run a test file. This
# will need to change.
#
clean:
rm cooked/*.html || true
rm cooked/*.jar || true
rm cooked/*.js || true
rmdir cooked || true
test: clean tests.html
ln -sf $(PWD)/test/recipes/sample.txt sample.txt
cp $(PWD)/test/recipes/sample.txt cooked/sample.txt
ln -sf $(PWD)/java/TiddlySaver.jar cooked/TiddlySaver.jar
open cooked/tests.html
tests.html:
mkdir -p cooked
cook $(PWD)/test/recipes/tests.html.recipe -d $(PWD)/cooked -o tests.html
alpha:
./bldalpha