forked from jdlrobson/notabene
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (28 loc) · 1.3 KB
/
Makefile
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
26
27
28
29
30
31
32
clean:
rm -rf src/chrjs.js src/chrjs-store.js src/jquery.min.js src/jquery-json.min.js
remotes: clean
curl -o src/chrjs.js \
https://raw.github.com/tiddlyweb/chrjs/master/main.js
curl -o src/chrjs-store.js \
https://raw.github.com/bengillies/chrjs.store/01b7b55f8f9ba17687f9d46cf4a119acea4c54e0/dist/chrjs-store-0.2.3.min.js
curl -o src/jquery.min.js \
http://code.jquery.com/jquery-1.6.1.min.js
curl -o src/jquery-json.min.js \
http://jquery-json.googlecode.com/files/jquery.json-2.2.min.js
curl -o src/require.js \
http://requirejs.org/docs/release/0.24.0/minified/require.js
devlocal: remotes
echo "open http://0.0.0.0:8080/static/edit.html"
twanager bag test_public < bag.json
echo "\n\nrun twanager server && open http://0.0.0.0:8080/static/edit.html\n\n"
dev: remotes
./upload.sh takenotedev 'src/notabene.js' 'src/notabene.css' 'src/chrjs-store.js' 'src/chrjs.js' 'src/touchicon.png' \
'src/jquery-ui.css' 'src/jquery-ui.min.js' \
'src/require.js' \
'src/dashboard' 'src/takenote' 'src/jquery.min.js'
dist:
./upload.sh takenote 'src/notabene.js' 'src/notabene.css' 'src/chrjs-store.js' \
'src/jquery-json.min.js' 'src/jquery.min.js' 'src/takenote' \
'src/jquery-ui.css' 'src/jquery-ui.min.js' \
'src/require.js' \
'src/dashboard' 'src/chrjs.js' 'src/touchicon.png' 'src/manifest.mf'