You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-06-03 16:35:37 +02:00
Refactor nits (#1652)
- https://github.com/woodpecker-ci/woodpecker/pull/1641/files#r1141405630 - https://github.com/woodpecker-ci/woodpecker/commit/ade8e6d010d2a1bebe08c17dfebca021c61b626d#r105091268 - https://github.com/woodpecker-ci/woodpecker/pull/1647/files#r1141410010 --------- Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
@@ -91,6 +91,10 @@ clean: ## Clean build artifacts
|
||||
rm -rf build
|
||||
@[ "1" != "$(shell docker image ls woodpecker/make:local -a | wc -l)" ] && docker image rm woodpecker/make:local || echo no docker image to clean
|
||||
|
||||
.PHONY: generate
|
||||
generate: ## Run all code generations
|
||||
go generate ./...
|
||||
|
||||
check-xgo: ## Check if xgo is installed
|
||||
@hash xgo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
|
||||
$(GO) install src.techknowlogick.com/xgo@latest; \
|
||||
|
||||
Reference in New Issue
Block a user