1
1
mirror of https://github.com/cooperspencer/gickup synced 2024-09-18 23:01:35 +02:00
gickup/Makefile
Tom Moulard 646b792ac1
chore: add linting (#101)
* 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
2022-03-20 11:25:11 +01:00

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