Add Compser and NPM scripts, remove Makefile
This commit is contained in:
parent
17bb353bbf
commit
58fe8198d3
3 changed files with 11 additions and 29 deletions
28
Makefile
28
Makefile
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue