Added Makefile
This commit is contained in:
parent
4709db1be6
commit
632bbe68d9
28
Makefile
Normal file
28
Makefile
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
.PHONY: clean
|
||||||
|
|
||||||
|
BOWER="node_modules/.bin/bower"
|
||||||
|
GULP="node_modules/.bin/gulp"
|
||||||
|
SCULPIN="vendor/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…
Reference in a new issue