2016-10-27 06:11:39 +00:00
|
|
|
.PHONY: clean
|
|
|
|
|
|
|
|
BOWER="node_modules/.bin/bower"
|
|
|
|
GULP="node_modules/.bin/gulp"
|
2016-11-30 08:09:48 +00:00
|
|
|
SCULPIN="bin/sculpin"
|
2016-10-27 06:11:39 +00:00
|
|
|
|
|
|
|
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:
|
2016-10-30 20:27:16 +00:00
|
|
|
$(GULP) watch
|
2016-10-27 06:11:39 +00:00
|
|
|
|
|
|
|
serve:
|
|
|
|
$(SCULPIN) generate --server --clean --no-interaction
|
|
|
|
|
|
|
|
watch:
|
|
|
|
$(SCULPIN) generate --server --watch --clean --no-interaction
|