mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-23 09:56:24 +04:00
fix: update Makefile (users don't need to build test stage)
This commit is contained in:
parent
03b6f0dd8b
commit
9bab4e1608
6
Makefile
6
Makefile
@ -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 ..
|
||||||
|
Loading…
Reference in New Issue
Block a user