Fix current directory in Makefile
This commit is contained in:
parent
1c7af47476
commit
a7ad7bc51c
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -1,3 +1,5 @@
|
||||||
|
CURDIR=$(shell pwd)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cargo build
|
cargo build
|
||||||
|
|
||||||
|
@ -6,6 +8,6 @@ release:
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
docker pull clux/muslrust
|
docker pull clux/muslrust
|
||||||
docker run -v $PWD:/volume --rm -t clux/muslrust cargo build --release
|
docker run -v $(CURDIR):/volume --rm -t clux/muslrust cargo build --release
|
||||||
|
|
||||||
.PHONY: default release publish
|
.PHONY: default release publish
|
||||||
|
|
Loading…
Reference in a new issue