summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/CodeEditor/Makefile
blob: c5d81be52c3fd4b7c10d31d95a4dcb24a74a2d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Helper to pull the ace goodies

.PHONY: all clean refresh

all: refresh

clean:
	rm -rf modules/ace ace-git

refresh: ace-git
	test -d modules/ace || mkdir modules/ace
	(cd ace-git && git checkout master && git pull origin master)
	(cd ace-git && npm install && node ./Makefile.dryice.js -nc)
	rsync -av ace-git/build/src-noconflict/ modules/ace/
	cp ace-git/LICENSE modules/ace/LICENSE

ace-git:
	git clone git://github.com/ajaxorg/ace.git ace-git