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/* \
|
2015-03-17 19:14:04 +00:00
|
|
|
app/jsx/build/charts/* \
|
|
|
|
app/jsx/build/app.js \
|
2015-03-17 08:57:45 +00:00
|
|
|
> build/app.js
|
2015-03-18 09:14:35 +00:00
|
|
|
cat \
|
|
|
|
app/bower_components/normalize.css/normalize.css \
|
|
|
|
app/css/* \
|
|
|
|
| $(CLEANCSS) -o build/app.css
|