update
This commit is contained in:
parent
ae9ee91bc4
commit
7ed986e4eb
21 changed files with 547 additions and 93 deletions
11
Justfile
11
Justfile
|
|
@ -11,7 +11,7 @@ start-release: build-container-release remove-podman-containers
|
|||
# Removes and stops any containers related to the project
|
||||
[private]
|
||||
remove-podman-containers:
|
||||
podman container rm -f ttime
|
||||
podman container rm -fi ttime
|
||||
|
||||
# Saves the release container to a tarball, pigz is just gzip but multithreaded
|
||||
save-release: build-container-release
|
||||
|
|
@ -23,14 +23,14 @@ load-release file:
|
|||
|
||||
# Tests every part of the project
|
||||
testall:
|
||||
cd backend && make test
|
||||
cd backend && make lint
|
||||
cd frontend && npm test
|
||||
cd frontend && npm run lint
|
||||
cd backend && make test
|
||||
cd backend && make lint
|
||||
|
||||
# Cleans up everything related to the project
|
||||
clean: remove-podman-containers
|
||||
podman image rm -f ttime-server
|
||||
podman image rm -fi ttime-server
|
||||
rm -rf frontend/dist
|
||||
rm -rf frontend/node_modules
|
||||
rm -f ttime-server.tar.gz
|
||||
|
|
@ -41,3 +41,6 @@ clean: remove-podman-containers
|
|||
[confirm]
|
||||
podman-clean:
|
||||
podman system reset --force
|
||||
|
||||
install-linter:
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.56.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue