From 59c0342bd7b9142da052b9dbe590036ff3dc701a Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 24 Aug 2022 11:40:55 +0200 Subject: [PATCH] refactoring --- Makefile | 4 ++-- main.go => src/main.go | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename main.go => src/main.go (100%) diff --git a/Makefile b/Makefile index 1423e90..4b02d4e 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ build: fmt - CGO_ENABLED=0 go build -ldflags '-s -w' -v -o bin/mugo ./ + CGO_ENABLED=0 go build -ldflags '-s -w' -v -o bin/mugo ./src tool-gofumpt: which golangci-lint > /dev/null 2>&1 || go install mvdan.cc/gofumpt@latest fmt: tool-gofumpt - gofumpt -w --extra . + gofumpt -w --extra ./ .ONESHELL: run-code-quality-analysis: diff --git a/main.go b/src/main.go similarity index 100% rename from main.go rename to src/main.go