Refactor format actions
This commit is contained in:
16
Makefile
16
Makefile
@ -30,22 +30,6 @@ build: clean build-assets build-site
|
||||
build-prod:
|
||||
$(MAKE) build TARGET=prod
|
||||
|
||||
# Format
|
||||
|
||||
format-pages:
|
||||
./tools/npm run format-md
|
||||
|
||||
format-assets:
|
||||
./tools/npm run format-webpack
|
||||
./tools/npm run format-js
|
||||
./tools/npm run format-vue
|
||||
./tools/npm run format-style
|
||||
|
||||
format-php:
|
||||
./tools/php-cs-fixer fix
|
||||
|
||||
format: format-pages format-assets format-php
|
||||
|
||||
watch: clean build-assets
|
||||
./tools/sculpin generate \
|
||||
--env="${APP_ENV}" \
|
||||
|
Reference in New Issue
Block a user