feat init project

This commit is contained in:
Urko 2023-07-10 11:34:19 +02:00
commit 318510b3f4
2 changed files with 20 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
.env
.vscode
coverage
.notes
uploads
bin

14
Makefile Normal file
View File

@ -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