/ Makefile
Makefile
1 .PHONY: default build dev fix fmt lint test clean 2 3 default: build 4 5 build: 6 cargo build --release 7 8 dev: 9 docker compose up --detach 10 bacon run 11 12 fix: 13 cargo clippy --fix --allow-staged 14 15 fmt: 16 cargo fmt 17 18 lint: 19 cargo clippy -- --deny warnings 20 21 testdata: 22 git clone https://github.com/khuedoan/horus testdata/horus 23 git clone https://github.com/khuedoan/example-service testdata/example-service 24 git clone https://github.com/khuedoan/micropaas testdata/micropaas 25 26 test: testdata 27 cargo nextest run 28 29 clean: 30 docker compose down --volumes 31 rm -rf /tmp/workspace 32 docker image remove localhost:5000/test-build-dockerfile:latest 33 docker image remove localhost:5000/test-build-nixpacks:latest