feat init project
This commit is contained in:
commit
318510b3f4
|
@ -0,0 +1,6 @@
|
|||
.env
|
||||
.vscode
|
||||
coverage
|
||||
.notes
|
||||
uploads
|
||||
bin
|
|
@ -0,0 +1,14 @@
|
|||
BIN_DIR := ./bin
|
||||
APP_NAME := backblaze-backup
|
||||
|
||||
.PHONY: build_windows
|
||||
build_windows:
|
||||
@mkdir -p $(BIN_DIR)
|
||||
GOOS=windows GOARCH=amd64 go build -o $(BIN_DIR)/$(APP_NAME).exe
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $(BIN_DIR)
|
||||
|
||||
.PHONY: rebuild
|
||||
rebuild: clean build_windows
|
Loading…
Reference in New Issue