Skip to content

Commit d7f6419

Browse files
committed
update ci
1 parent eaac56e commit d7f6419

3 files changed

Lines changed: 12 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*.dll
88
*.so
99
*.dylib
10-
menlo-cli
10+
1111

1212
# Test binary, built with `go test -c`
1313
*.test

.lefthook.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ pre-commit:
22
parallel: true
33
commands:
44
golangci-lint:
5-
run: golangci-lint run --out-format line-number
5+
run: golangci-lint run
66
glob: '*.go'
77

88
go-build:
99
run: go build -o /dev/null ./...
1010
glob: '*.go'
1111

1212
go-mod-tidy:
13-
run: go mod tidy
14-
15-
go-test:
16-
run: go test -v ./...
17-
glob: '*.go'
13+
run: go mod tidy

cmd/menlo-cli/main.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package main
2+
3+
import (
4+
"github.com/menloresearch/menlo-cli/internal/commands"
5+
)
6+
7+
func main() {
8+
commands.Execute()
9+
}

0 commit comments

Comments
 (0)