Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 40 lines (34 sloc) 0.772 kb
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
JS_FILES = \
src/start.js \
src/utils.js \
src/point.js \
src/coordinate.js \
src/location.js \
src/extent.js \
src/transformation.js \
src/projection.js \
src/provider.js \
src/mouse.js \
src/hash.js \
src/touch.js \
src/callbacks.js \
src/requests.js \
src/layer.js \
src/map.js \
src/end.js

all: modestmaps.js modestmaps.min.js

modestmaps.min.js: modestmaps.js
rm -f modestmaps.min.js
java -jar tools/yuicompressor-2.4.2.jar modestmaps.js > modestmaps.min.js
chmod a-w modestmaps.min.js

modestmaps.js: $(JS_FILES) Makefile
rm -f modestmaps.js
cat $(JS_FILES) >> modestmaps.js
chmod a-w modestmaps.js

clean:
rm modestmaps.js
rm modestmaps.min.js

doc:
./node_modules/.bin/docco src/*.js

tests:
./node_modules/.bin/expresso test/*.test.js
Something went wrong with that request. Please try again.