1
0
Fork 0
empact/Makefile

17 lines
487 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) \
app/bower_components/react/react.js \
app/bower_components/react-router/build/global/ReactRouter.js \
app/bower_components/lodash/lodash.js \
app/bower_components/jquery/dist/jquery.js \
app/js/* \
app/jsx/build/*/* \
> build/app.js
cat app/css/* | $(CLEANCSS) -o build/app.css