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:
parent
c833a7f4d2
commit
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
|
build: ## Build the Go application binary
|
||||||
@echo ">>> Building application..."
|
@echo ">>> Building application..."
|
||||||
-mkdir "$(BUILD_DIR)"
|
-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 ---
|
||||||
run: build ## Build and run the application
|
run: build ## Build and run the application
|
||||||
@echo ">>> Running application on port $(PORT)..."
|
@echo ">>> Running application on port $(PORT)..."
|
||||||
@set PORT=$(PORT) && "$(BUILD_DIR)/$(BINARY_NAME).exe"
|
@set PORT=$(PORT) && "$(BUILD_DIR)/$(BINARY_NAME)"
|
||||||
|
|
||||||
# --- Dev Mode ---
|
# --- Dev Mode ---
|
||||||
dev: ## Run the application with hot-reload (requires installing air first)
|
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