From 32f164bcb55004067be5bff5d79ce9b3acd7bc74 Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 11 May 2024 10:26:21 +0200 Subject: [PATCH] Default debug target in makefile --- makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index e652af7..8106941 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,9 @@ PROJECT = $(shell basename $(CURDIR)) GITHASH = $(shell git rev-parse --short HEAD) +debug: + cargo run + release: cargo build --release tar -czf $(PROJECT)_$(GITHASH).tar.gz -C target/release $(PROJECT) @@ -19,4 +22,4 @@ sign: release source-release minisign -Sm $(PROJECT)_$(GITHASH).tar.gz $(PROJECT)_$(GITHASH)_source.tar.gz publish: sign - scp $(PROJECT)_$(GITHASH).tar.gz* $(PROJECT)_$(GITHASH)_source.tar.gz* server:/public/$(PROJECT)/ \ No newline at end of file + scp $(PROJECT)_$(GITHASH).tar.gz* $(PROJECT)_$(GITHASH)_source.tar.gz* server:/public/$(PROJECT)/