From b70afbb92abf9dd91b5e0ecd0b7e66b2cc46c533 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 3 Jun 2024 00:46:25 +0200 Subject: [PATCH] Makefile --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 8106941..3a226f9 100644 --- a/makefile +++ b/makefile @@ -4,8 +4,11 @@ GITHASH = $(shell git rev-parse --short HEAD) debug: cargo run -release: +build: cargo build --release + ls -lh target/release/$(PROJECT) + +release: build tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT) tar -tvf $(PROJECT)_$(GITHASH).tar.gz