commit 318510b3f48245e05745082440cea0f114c7b26a Author: Urko Date: Mon Jul 10 11:34:19 2023 +0200 feat init project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..297bf68 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.env +.vscode +coverage +.notes +uploads +bin \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b1744f4 --- /dev/null +++ b/Makefile @@ -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