diff --git a/.goreleaser.yml b/.goreleaser.yml index 9ccee21..e67b884 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -15,7 +15,7 @@ builds: - env: - CGO_ENABLED=0 - main: ./cmd/go-gitlint/main.go + main: ./main.go binary: gitlint goos: - linux diff --git a/Makefile b/Makefile index 0ce0a9e..58b9215 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ build: @echo "Building..." - @go build -o gitlint cmd/go-gitlint/main.go + @go build -o gitlint main.go test: @echo "Running unit tests..." diff --git a/check_coverage.sh b/check_coverage.sh index a77c370..bddc1e1 100755 --- a/check_coverage.sh +++ b/check_coverage.sh @@ -16,7 +16,7 @@ # let THRESHOLD=80 -IGNORE=github.com/llorllale/go-gitlint/cmd/go-gitlint +IGNORE=github.com/llorllale/go-gitlint let exit_code=0 diff --git a/cmd/go-gitlint/main.go b/main.go similarity index 100% rename from cmd/go-gitlint/main.go rename to main.go