-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
34 lines (30 loc) · 1.53 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
33
34
all: ace-builds Immutable.js bundle.js
ace-builds-before-patch:
git clone git://github.com/ajaxorg/ace-builds.git ace-builds-before-patch
ace-builds: ace-builds-before-patch lightened_colors.diff
cd ace-builds-before-patch; git checkout -f v1.2.3
patch ace-builds-before-patch/src-noconflict/theme-solarized_light.js lightened_colors.diff
rm -rf ace-builds
mkdir ace-builds
cp -rf ace-builds-before-patch/src-noconflict ace-builds
ace-build-src-noconflict: ace-builds
/ace-builds/src-noconflict/
Immutable.js:
curl https://raw.githubusercontent.com/facebook/immutable-js/master/dist/immutable.min.js > Immutable.js
lazycanvasbundle.js: LazyCanvasCtx.js
webpack
bundle.js: src/*.js examples/*.js DalSegno.js LazyCanvasCtx.js
webpack
index_with_tracking: index.html
./addGoogleTracking googletracking.html index.html index_with_tracking
fullscreen_with_tracking: fullscreen/index.html
./addGoogleTracking googletracking.html fullscreen/index.html fullscreen_with_tracking
deploy: bundle.js bundle.js.map ace-builds index_with_tracking fullscreen_with_tracking
rsync -r --verbose --delete main.css embed.css reset.css about ace-builds fullscreen bundle.js bundle.js.map segno.svg videos.html tom:/home/tomb/dalsegno
rsync index_with_tracking tom:/home/tomb/dalsegno/index.html
rsync fullscreen_with_tracking tom:/home/tomb/dalsegno/fullscreen/index.html
rm index_with_tracking
rm fullscreen_with_tracking
deployFavicons: favicons.zip
scp ./favicons.zip tom:/home/tomb/dalsegno/favicons.zip
ssh tom 'cd dalsegno; unzip favicons.zip; rm favicons.zip'