Add Makefile for build targets

This commit is contained in:
Armin Friedl 2019-11-30 20:01:44 +01:00
parent 8bcf05fd8f
commit 1c7af47476
Signed by: armin
GPG key ID: 48C726EEE7FBCBC8

11
Makefile Normal file
View 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