mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2024-11-25 10:56:25 +04:00
13 lines
263 B
Makefile
13 lines
263 B
Makefile
DOCKER_TAG ?= rcore-tutorial-v3:latest
|
|
.PHONY: docker build_docker
|
|
|
|
docker:
|
|
docker run --rm -it -v ${PWD}:/mnt -w /mnt --name rcore-tutorial-v3 ${DOCKER_TAG} bash
|
|
|
|
build_docker:
|
|
docker build -t ${DOCKER_TAG} --target build .
|
|
|
|
fmt:
|
|
cd os ; cargo fmt; cd ..
|
|
|