Add Makefile for build targets
This commit is contained in:
parent
8bcf05fd8f
commit
1c7af47476
1 changed files with 11 additions and 0 deletions
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
default:
|
||||
cargo build
|
||||
|
||||
release:
|
||||
cargo build --release
|
||||
|
||||
publish:
|
||||
docker pull clux/muslrust
|
||||
docker run -v $PWD:/volume --rm -t clux/muslrust cargo build --release
|
||||
|
||||
.PHONY: default release publish
|
Loading…
Reference in a new issue