mediawiki-extensions-CodeEd.../Makefile
Derk-Jan Hartman 200cc9d020 Namespace define, require calls when building Ace
Bug: T127643
Change-Id: If425d96fa9e650ded2d3431d4c418f0fd1359af1
2016-03-14 00:11:03 +01:00

20 lines
452 B
Makefile

# 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