forked from transit-appliance/Transit-Board-Hotel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
executable file
·43 lines (39 loc) · 1.08 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
35
36
37
38
39
40
41
42
43
CLOSURE=java -jar ~/bin/compiler.jar
all : apidocs compile distribution
apidocs : tbdhotel.js
jsdoc tbdhotel.js -d=apidocs
compile : tbdhotel.js tbdhotel.html
$(CLOSURE) \
--js jquery.min.js \
--js leaflet-js/leaflet.js \
--js assets/js/fleegix.js \
--js assets/js/tzdate.js \
--js assets/js/date.js \
--js assets/js/trArrUtilities.js \
--js assets/js/trStopCache.js \
--js assets/js/trAgencyCache.js \
--js assets/js/trArr.js \
--js jquery.textfill.js \
--js proj4js.min.js \
--js Markdown.Converter.js \
--js Markdown.Sanitizer.js \
--js html-sanitizer-minified.js \
--js jquery.qrcode.min.js \
--js tbdhotel.js \
--js_output_file tbdhotel.min.js
node build.js
distribution: compile
zip -r transit-board-hotel-`git log --pretty=format:'%h' -n 1`.zip \
tbdhotel.min.html \
tbdhotel.min.js \
tbdhotel.css \
leaflet-js/leaflet.css \
leaflet-js/images/ \
hosted_images/ \
assets/tz/northamerica \
assets/js/trArrAgencyTriMet.js \
assets/js/trArrServiceTriMet.js \
slideshows/*.md \
styles/*.css \
weather-icons/*.png \
gis/trimetTiles/