fix: update Makefile (users don't need to build test stage)

This commit is contained in:
jklincn 2024-01-23 11:09:05 +08:00
parent 03b6f0dd8b
commit 9bab4e1608

View File

@ -1,11 +1,11 @@
DOCKER_NAME ?= rcore-tutorial-v3 DOCKER_TAG ?= rcore-tutorial-v3:latest
.PHONY: docker build_docker .PHONY: docker build_docker
docker: docker:
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash docker run --rm -it -v ${PWD}:/mnt -w /mnt --name rcore-tutorial-v3 ${DOCKER_TAG} bash
build_docker: build_docker:
docker build -t ${DOCKER_NAME} . docker build -t ${DOCKER_TAG} --target build .
fmt: fmt:
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd .. cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..