1
Fork 0

Create build dirs

This commit is contained in:
Jake Howard 2017-04-30 12:05:44 +01:00
parent 966c5cf111
commit 413d229952

View file

@ -8,6 +8,7 @@ OUTPUT_DIR=$(BASEDIR)/public
build: install
rm -rf $(OUTPUT_DIR)
mkdir -p $(STATIC_BUILD)/js $(STATIC_BUILD)/css
$(NODE_BIN)/browserify $(STATIC_SRC)/js/index.js -o $(STATIC_BUILD)/js/app.js
$(NODE_BIN)/node-sass $(STATIC_SRC)/scss/style.scss $(STATIC_BUILD)/css/style.css --source-map-embed
cp -r $(BASEDIR)/node_modules/font-awesome/fonts $(STATIC_BUILD)/fonts