diff --git a/Makefile b/Makefile index 6f661e7..f0c40a7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BINARY=kisurun BUILD_DIR=build -build: +build: all @echo "Building $(BINARY)..." go build -o $(BUILD_DIR)/$(BINARY) . @echo "Copying templates and static..." @@ -9,3 +9,5 @@ build: mkdir -p $(BUILD_DIR)/static cp -r templates/* $(BUILD_DIR)/templates/ cp -r static/* $(BUILD_DIR)/static/ +dist: clean + rm -rf $(BUILD_DIR)