Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
44 lines
1.5 KiB
Makefile
44 lines
1.5 KiB
Makefile
.PHONY: build dev test test-js test-vue lint fresh audit
|
|
|
|
build:
|
|
@echo "---Building js---"
|
|
@(cd $(CURDIR)/js && yarn && yarn build) || (echo "Failed to build js"; exit 1)
|
|
@echo "---Building vue---"
|
|
@(cd $(CURDIR)/vue && yarn && yarn build) || (echo "Failed to build vue"; exit 1)
|
|
|
|
dev: build
|
|
@echo "---Creating sym link for js---"
|
|
@(cd $(CURDIR)/js && yarn && yarn link && yarn build) || (echo "Failed to link js"; exit 1)
|
|
@echo "---Building vue and creating sym link---"
|
|
@(cd $(CURDIR)/vue && yarn && yarn cdeps && yarn build && yarn link) || (echo "Failed to process vue lib"; exit 1)
|
|
|
|
test: test-js test-vue
|
|
|
|
test-js:
|
|
@echo "---Testing js---"
|
|
@(cd $(CURDIR)/js && yarn test) || (echo "Failed to test js"; exit 1)
|
|
|
|
test-vue:
|
|
@echo "---Testing vue---"
|
|
@(cd $(CURDIR)/vue && yarn test) || (echo "Failed to test vue"; exit 1)
|
|
|
|
lint:
|
|
@echo "---Linting js---"
|
|
@(cd $(CURDIR)/js && yarn lint) || (echo "Failed to lint js"; exit 1)
|
|
@echo "---Linting vue---"
|
|
@(cd $(CURDIR)/vue && yarn lint) || (echo "Failed to lint vue"; exit 1)
|
|
|
|
fresh:
|
|
@echo "---Fresh js---"
|
|
@(cd $(CURDIR)/js && rm -rf node_modules yarn.lock && yarn && yarn link && yarn build) || (echo "Failed to fresh js"; exit 1)
|
|
@echo "---Fresh vue---"
|
|
@(cd $(CURDIR)/vue && rm -rf node_modules yarn.lock && yarn && yarn cdeps && yarn build && yarn link) || (echo "Failed to fresh vue"; exit 1)
|
|
|
|
audit:
|
|
@echo "---Audit js---"
|
|
@(cd $(CURDIR)/js && yarn audit) || true
|
|
@echo "---Audit vue---"
|
|
@(cd $(CURDIR)/vue && yarn audit) || true
|
|
|
|
.DEFAULT_GOAL := dev
|