mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-25 10:56:25 +04:00
10 lines
273 B
Makefile
10 lines
273 B
Makefile
DOCKER_NAME ?= dinghao188/rcore-tutorial
|
|
.PHONY: docker build_docker
|
|
|
|
docker:
|
|
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
|
|
|
|
build_docker:
|
|
docker build -t ${DOCKER_NAME} .
|
|
fmt:
|
|
cd os ; cargo fmt; cd ../user; cargo fmt; cd ..
|