Skip to content

Commit

Permalink
Fixed phony tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed May 5, 2023
1 parent b2a0919 commit a670043
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,42 @@ ifndef REPO_BRANCH
override REPO_BRANCH="master"
endif

.PHONY: clean release test

.PHONY: audit
audit: ## Checks for vulnerabilities in dependencies
@npm audit

.PHONY: build
build: ## Builds the package for web distribution
@npm run build

.PHONY: clean
clean: ## Remove previous builds and any test cache data
@npm run clean
@if [ -d $(DISTRIBUTIONS_DIR) ]; then rm -r $(DISTRIBUTIONS_DIR); fi
@if [ -d build ]; then rm -r build; fi
@if [ -d build_cache ]; then rm -r build_cache; fi
@if [ -d node_modules ]; then rm -r node_modules; fi

.PHONY: install
install: ## Installs the dependencies for the package
@npm install

.PHONY: lint
lint: ## Runs the standard-js lint tool
@npm run lint

.PHONY: outdated
outdated: ## Checks for outdated packages via npm
@npm outdated

.PHONY: publish
publish: ## Will publish the version to npm
@npm run deploy

.PHONY: release
release:: ## Deploy to npm
@npm run deploy

.PHONY: test
test: ## Runs all tests
@npm run test

0 comments on commit a670043

Please sign in to comment.