feat: add tasks info
Diff
Makefile | 11 +++++++++++
1 file changed, 11 insertions(+)
@@ -23,12 +23,19 @@ watch:
@cargo make --makefile Tasks.Dev.toml watch
.PHONY: watch
build:
@cargo build --release --target $(PKG_TARGET)
.PHONY: build
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)