howmuch/web/Makefile
Muyao CHEN 8e73dc5f0b
All checks were successful
Build and test / Build (push) Successful in 2m10s
feat: test gitea actions with a real build!
2024-10-08 23:22:00 +02:00

23 lines
358 B
Makefile

.PHONY: all
all: add-copyright format lint build test
.PHONY: build
build:
@npm run build
.PHONY: format
format: # format code.
@npm run format
.PHONY: lint
lint:
@npm run lint
.PHONY: test
test:
@npm run test:unit run
.PHONY: add-copyright
add-copyright: # add license to file headers.
@addlicense -v -f ../LICENSE ./src --skip-files=database.yml