mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-14 19:14:41 +00:00
200cc9d020
Bug: T127643 Change-Id: If425d96fa9e650ded2d3431d4c418f0fd1359af1
20 lines
452 B
Makefile
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
|
|
|