更新构建配置:修改输出目录并添加.gitignore

This commit is contained in:
kingecg 2025-09-13 21:29:03 +08:00
parent 62c674581a
commit 01593fa253
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
dist/

View File

@ -2,7 +2,7 @@
# Variables # Variables
BINARY_NAME := packer BINARY_NAME := packer
BUILD_DIR := ./bin BUILD_DIR := ./dist
SRC_DIR := ./cmd/packer SRC_DIR := ./cmd/packer
# Build the packer tool # Build the packer tool
@ -18,4 +18,5 @@ clean:
@rm -rf $(BUILD_DIR) @rm -rf $(BUILD_DIR)
@echo "Clean completed." @echo "Clean completed."
all: clean build
.PHONY: build clean .PHONY: build clean