1
0
Fork 0
empact/Makefile

16 lines
452 B
Makefile
Raw Normal View History

2015-03-17 08:57:45 +00:00
UGLIFY = ./node_modules/uglify-js/bin/uglifyjs
CLEANCSS = ./node_modules/clean-css/bin/cleancss
2015-03-08 15:19:28 +00:00
cloc:
cloc . --exclude-dir=app/bower_components,app/scripts/.module-cache
2015-03-17 08:57:45 +00:00
static:
$(UGLIFY) \
2015-03-17 09:18:13 +00:00
app/bower_components/react/react.min.js \
2015-03-17 09:29:25 +00:00
app/bower_components/react-router/build/global/ReactRouter.min.js \
app/bower_components/lodash/lodash.min.js \
2015-03-17 08:57:45 +00:00
app/js/* \
app/jsx/build/*/* \
> build/app.js
cat app/css/* | $(CLEANCSS) -o build/app.css