Merge pull request #245 from Sigmanificient/patch-1

Add explicit .PHONY rules
fastpreview
Varun Patil 2022-11-23 11:51:21 -08:00 committed by GitHub
commit 63785a4ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,8 @@ npm-init:
npm-update: npm-update:
npm update npm update
.PHONY: dev-setup exiftool php-cs-fixer php-lint npm-init npm-update
# Building # Building
build-js: build-js:
npm run dev npm run dev
@ -33,6 +35,8 @@ patch-external:
watch-js: watch-js:
npm run watch npm run watch
.PHONY: build-js patch-external watch-js
# Testing # Testing
test: test:
npm run test npm run test
@ -43,6 +47,8 @@ test-watch:
test-coverage: test-coverage:
npm run test:coverage npm run test:coverage
.PHONY: test test-watch test-coverage
# Linting # Linting
lint: lint:
npm run lint npm run lint
@ -50,6 +56,8 @@ lint:
lint-fix: lint-fix:
npm run lint:fix npm run lint:fix
.PHONY: lint lint-fix
# Cleaning # Cleaning
clean: clean:
rm -f js/* rm -f js/*
@ -57,3 +65,4 @@ clean:
clean-dev: clean-dev:
rm -rf node_modules rm -rf node_modules
.PHONY: clean clean-dev