This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/Makefile
2018-02-13 11:09:56 +00:00

31 lines
458 B
Makefile

ENV := dev
PORT := 8000
.PHONY: test
all: init generate-assets build
clean:
rm -rf \
node_modules \
output_* \
source/assets/css \
source/assets/fonts \
vendor
init:
composer install
yarn install
generate-assets:
yarn run encore dev
build:
vendor/bin/sculpin generate --env=$(ENV)
serve:
vendor/bin/sculpin generate --server --env=$(ENV) --port=$(PORT)
watch:
vendor/bin/sculpin generate --server --env=$(ENV) --port=$(PORT) --watch