Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 36 lines (28 sloc) 1.009 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
JS_SOURCES = src/js/microtemplating.js\
             src/js/jquery.easing.1.3.js\
             src/js/jquery.stackview.base.js \
             src/js/jquery.stackview.infinite.js\
             src/js/jquery.stackview.navigation.js\
             src/js/jquery.stackview.ministack.js\
             src/js/jquery.stackview.stackcache.js\
             src/js/jquery.stackview.templates.js\
             src/js/types/book.js\
             src/js/types/serial.js\
             src/js/types/soundrecording.js\
             src/js/types/videofilm.js\
             src/js/types/webpage.js

SCSS_SOURCE = src/scss/jquery.stackview.scss
JS_OUTPUT = lib/jquery.stackview.min.js
CSS_OUTPUT = lib/jquery.stackview.css
CSS_OUTPUT_STYLE = expanded

YUI = java -jar bin/yuicompressor-2.4.7.jar

all: clean js css

js:
cat $(JS_SOURCES) > temp.js
$(YUI) -o $(JS_OUTPUT) temp.js
rm -f temp.js

css:
sass --style $(CSS_OUTPUT_STYLE) $(SCSS_SOURCE):$(CSS_OUTPUT)

clean:
rm -f $(JS_OUTPUT) $(CSS_OUTPUT)

.PHONY: js css clean
Something went wrong with that request. Please try again.