Add Compser and NPM scripts, remove Makefile

This commit is contained in:
Oliver Davies 2017-01-05 13:17:40 +00:00
parent 17bb353bbf
commit 58fe8198d3
3 changed files with 11 additions and 29 deletions

View file

@ -1,28 +0,0 @@
.PHONY: clean
BOWER="node_modules/.bin/bower"
GULP="node_modules/.bin/gulp"
SCULPIN="bin/sculpin"
init: build watch
build:
composer install \
&& yarn \
&& $(BOWER) install \
&& $(GULP) build
clean:
rm -rf node_modules/ output_*/ vendor/
generate:
$(SCULPIN) generate --clean --no-interaction
gulp:
$(GULP) watch
serve:
$(SCULPIN) generate --server --clean --no-interaction
watch:
$(SCULPIN) generate --server --watch --clean --no-interaction