Skip to content

Commit

Permalink
feat: move main package to root so go run will work
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-ebler-vineti committed Jul 28, 2021
1 parent d6303cc commit 37d84a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builds:
-
env:
- CGO_ENABLED=0
main: ./cmd/go-gitlint/main.go
main: ./main.go
binary: gitlint
goos:
- linux
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion check_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
File renamed without changes.

0 comments on commit 37d84a5

Please sign in to comment.