chore{init): Cập nhật inorege

Loại bỏ các file local không cần thiết lên repo
This commit is contained in:
ulflow_phattt2901 2025-05-07 11:58:18 +07:00
parent c833a7f4d2
commit b18758034e
4 changed files with 29 additions and 2 deletions

12
.gitmessage.txt Normal file
View File

@ -0,0 +1,12 @@
# type: feat | fix | docs | style | refactor | perf | test | chore
# scope: phần của project bị ảnh hưởng (auth, api, db...)
# summary: mô tả ngắn gọn (không viết hoa, không chấm câu)
# body: mô tả thêm (có thể bỏ qua)
# footer: liên kết issue hoặc cảnh báo BREAKING CHANGE
# ~/.gitmessage.txt
<type>(<scope>): <summary>
[Body - mô tả chi tiết]
[Footer - issue liên quan, breaking change,...]

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"makefile.configureOnOpen": false
}

View File

@ -54,12 +54,12 @@ all: ci-local build ## Run CI checks and build the application
build: ## Build the Go application binary
@echo ">>> Building application..."
-mkdir "$(BUILD_DIR)"
$(GOBUILD) -o "$(BUILD_DIR)/$(BINARY_NAME).exe" "$(CMD_DIR)/main.go"
$(GOBUILD) -o "$(BUILD_DIR)/$(BINARY_NAME)" "$(CMD_DIR)/main.go"
# --- Run ---
run: build ## Build and run the application
@echo ">>> Running application on port $(PORT)..."
@set PORT=$(PORT) && "$(BUILD_DIR)/$(BINARY_NAME).exe"
@set PORT=$(PORT) && "$(BUILD_DIR)/$(BINARY_NAME)"
# --- Dev Mode ---
dev: ## Run the application with hot-reload (requires installing air first)

12
template/.gitmessage.txt Normal file
View File

@ -0,0 +1,12 @@
# type: feat | fix | docs | style | refactor | perf | test | chore
# scope: phần của project bị ảnh hưởng (auth, api, db...)
# summary: mô tả ngắn gọn (không viết hoa, không chấm câu)
# body: mô tả thêm (có thể bỏ qua)
# footer: liên kết issue hoặc cảnh báo BREAKING CHANGE
# ~/.gitmessage.txt
<type>(<scope>): <summary>
[Body - mô tả chi tiết]
[Footer - issue liên quan, breaking change,...]