Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b18758034e |
12
.gitmessage.txt
Normal file
12
.gitmessage.txt
Normal 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
3
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"makefile.configureOnOpen": false
|
||||
}
|
||||
4
Makefile
4
Makefile
@ -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
12
template/.gitmessage.txt
Normal 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,...]
|
||||
Loading…
x
Reference in New Issue
Block a user