From add3a08b247e60eafc17c80ea136dea3e16b244b Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 11 Oct 2019 00:18:47 +0200 Subject: [PATCH] feat: add tasks info --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 083243d..b4f860c 100644 --- a/Makefile +++ b/Makefile @@ -23,12 +23,19 @@ watch: @cargo make --makefile Tasks.Dev.toml watch .PHONY: watch +build: + @cargo build --release --target $(PKG_TARGET) +.PHONY: build + ####################################### ########### Utility tasks ############# ####################################### test: + @sudo chown -R rust:rust ./ + @echo "Testing application..." + @rustc --version @cargo test .PHONY: test @@ -49,6 +56,8 @@ define build_release = set -u sudo chown -R rust:rust ./ + echo "Compiling application..." + rustc --version cargo build --release --target $(PKG_TARGET) echo "Release build completed!" endef @@ -88,6 +97,8 @@ prod.release: set -e set -u + echo "Building a release..." + $(build_release) $(build_release_shrink) $(build_release_files) -- libgit2 1.7.2