mirror of
https://github.com/cooperspencer/gickup
synced 2024-12-26 11:24:11 +01:00
646b792ac1
* chore: adding makefile * chore: adding lint * chore: update package name * lint: run with fix * chore: update main.go * chore: update main_test.go * chore: update types.go * chore: update logger.go * chore: update types_test.go * chore: update prometheus.go * chore: update local.go * chore: update gitlab.go * chore: update gogs.go * chore: update bitbucket.go * chore: update gitea.go * chore: update github.go * chore: update main*.go * chore: go mod tidy * chore: update action to have a correct working-directory
25 lines
330 B
Makefile
25 lines
330 B
Makefile
test:
|
|
go test ./...
|
|
.PHONY: test
|
|
|
|
dist:
|
|
mkdir -p dist
|
|
|
|
dist/gickup: dist
|
|
go build -o dist/gickup ./main.go
|
|
|
|
build: dist/gickup
|
|
.PHONY: build
|
|
|
|
clean:
|
|
$(RM) -r dist
|
|
.PHONY: clean
|
|
|
|
install-tools:
|
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.0
|
|
.PHONY: install-tools
|
|
|
|
lint:
|
|
golangci-lint run
|
|
.PHONY: lint
|