Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (36 sloc) 1.14 kb
bd89c46 @fjakobs some cleanups
fjakobs authored
1 .PHONY : doc build clean dist
2
7d89ecf @gjtorikian Update Makefile
gjtorikian authored
3 pre_build:
7b143ae @fjakobs add revision number to the kitchen sink
fjakobs authored
4 git rev-parse HEAD > .git-ref
3ed202b @fjakobs move packaged js source files to "src"
fjakobs authored
5 mkdir -p build/src
606963f @fjakobs move kitchen-sink demo into a separate directory
fjakobs authored
6 mkdir -p build/demo/kitchen-sink
b8c5fa7 @fjakobs update build system for the bookmarklet
fjakobs authored
7 mkdir -p build/textarea/src
63785dc @fjakobs package kitchen sink demo and include it in the build
fjakobs authored
8
606963f @fjakobs move kitchen-sink demo into a separate directory
fjakobs authored
9 cp -r demo/kitchen-sink/styles.css build/demo/kitchen-sink/styles.css
10 cp demo/kitchen-sink/logo.png build/demo/kitchen-sink/logo.png
a40c6a9 @fjakobs Cleanup build system
fjakobs authored
11 cp -r doc/site/images build/textarea
7d89ecf @gjtorikian Update Makefile
gjtorikian authored
12
13 build: pre_build
2bf1429 @jviereck Merge build process for normal and bookmarklet build
jviereck authored
14 ./Makefile.dryice.js normal
1f40a1d @fjakobs give kitchen sink its own build target
fjakobs authored
15 ./Makefile.dryice.js demo
2bf1429 @jviereck Merge build process for normal and bookmarklet build
jviereck authored
16 ./Makefile.dryice.js bm
7d65438 @fjakobs simple packager
fjakobs authored
17
29b6f8c @lennartcl Add a very simple incremental Makefile target
lennartcl authored
18 # Minimal build: call Makefile.dryice.js only if our sources changed
b4150a2 @lennartcl Don't require pre_build for basic job
lennartcl authored
19 basic: build/src/ace.js
29b6f8c @lennartcl Add a very simple incremental Makefile target
lennartcl authored
20
21 build/src/ace.js : ${wildcard lib/*} \
22 ${wildcard lib/*/*} \
23 ${wildcard lib/*/*/*} \
24 ${wildcard lib/*/*/*/*} \
25 ${wildcard lib/*/*/*/*/*} \
26 ${wildcard lib/*/*/*/*/*/*}
27 ./Makefile.dryice.js
28
0bdae58 @gjtorikian Update Makefile
gjtorikian authored
29 doc:
89d1c65 @nightwing move panino dependency into doc module
nightwing authored
30 cd doc;\
d576d21 @gjtorikian Tweak styles to match new Panino
gjtorikian authored
31 (test -d node_modules && npm update) || npm install;\
89d1c65 @nightwing move panino dependency into doc module
nightwing authored
32 node build.js
0bdae58 @gjtorikian Update Makefile
gjtorikian authored
33
7d65438 @fjakobs simple packager
fjakobs authored
34 clean:
35 rm -rf build
b9200e7 @fjakobs small makefile fixes
fjakobs authored
36 rm -rf ace-*
b12016c @fjakobs some cleanups
fjakobs authored
37 rm -f ace-*.tgz
7d65438 @fjakobs simple packager
fjakobs authored
38
39 ace.tgz: build
07fc782 @fjakobs fix makefile
fjakobs authored
40 mv build ace-`./version.js`/
41 cp Readme.md ace-`./version.js`/
42 cp LICENSE ace-`./version.js`/
43 tar cvfz ace-`./version.js`.tgz ace-`./version.js`/
7d65438 @fjakobs simple packager
fjakobs authored
44
45 dist: clean build ace.tgz
Something went wrong with that request. Please try again.