Skip to content

Commit

Permalink
fix: remove the removal of phony
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Aug 19, 2024
1 parent f395ab0 commit 642f3d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,21 @@ LD_FLAGS = -X github.com/go-vela/vela-terraform/version.Commit=${GITHUB_SHA} -X
# and prepare the local changes for submission.
#
# Usage: `make clean`
.PHONY: clean
clean: tidy vet fmt fix

# The `run` target is intended to build and
# execute the Docker image for the plugin.
#
# Usage: `make run`
.PHONY: run
run: build docker-build docker-run

# The `tidy` target is intended to clean up
# the Go module files (go.mod & go.sum).
#
# Usage: `make tidy`
.PHONY: tidy
tidy:
@echo
@echo "### Tidying Go module"
Expand All @@ -49,6 +52,7 @@ tidy:
# Go source code for potential issues.
#
# Usage: `make vet`
.PHONY: vet
vet:
@echo
@echo "### Vetting Go code"
Expand All @@ -58,6 +62,7 @@ vet:
# Go source code to meet the language standards.
#
# Usage: `make fmt`
.PHONY: fmt
fmt:
@echo
@echo "### Formatting Go Code"
Expand All @@ -67,6 +72,7 @@ fmt:
# Go source code using old APIs.
#
# Usage: `make fix`
.PHONY: fix
fix:
@echo
@echo "### Fixing Go Code"
Expand All @@ -76,6 +82,7 @@ fix:
# the tests for the Go source code.
#
# Usage: `make test`
.PHONY: test
test:
@echo
@echo "### Testing Go Code"
Expand All @@ -86,6 +93,7 @@ test:
# open the test coverage report.
#
# Usage: `make test-cover`
.PHONY: test-cover
test-cover:
@echo
@echo "### Creating test coverage report"
Expand All @@ -98,6 +106,7 @@ test-cover:
# the Go source code into a binary.
#
# Usage: `make build`
.PHONY: build
build:
@echo
@echo "### Building release/vela-terraform binary"
Expand All @@ -111,6 +120,7 @@ build:
# the Go source code into a statically linked binary.
#
# Usage: `make build-static`
.PHONY: build-static
build-static:
@echo
@echo "### Building static release/vela-terraform binary"
Expand All @@ -125,6 +135,7 @@ build-static:
# when used within a CI environment.
#
# Usage: `make build-static-ci`
.PHONY: build-static-ci
build-static-ci:
@echo
@echo "### Building CI static release/vela-terraform binary"
Expand All @@ -137,6 +148,7 @@ build-static-ci:
# dependencies from the Go module that need updates.
#
# Usage: `make check`
.PHONY: check
check: check-install
@echo
@echo "### Checking dependencies for updates"
Expand All @@ -146,6 +158,7 @@ check: check-install
# dependencies from the Go module that need updates.
#
# Usage: `make check-direct`
.PHONY: check-direct
check-direct: check-install
@echo
@echo "### Checking direct dependencies for updates"
Expand All @@ -155,6 +168,7 @@ check-direct: check-install
# all dependencies from the Go module.
#
# Usage: `make check-full`
.PHONY: check-full
check-full: check-install
@echo
@echo "### Checking all dependencies for updates"
Expand All @@ -164,6 +178,7 @@ check-full: check-install
# the tool used to check dependencies from the Go module.
#
# Usage: `make check-install`
.PHONY: check-install
check-install:
@echo
@echo "### Installing psampaz/go-mod-outdated"
Expand All @@ -173,6 +188,7 @@ check-install:
# non-test dependencies for the Go module.
#
# Usage: `make bump-deps`
.PHONY: bump-deps
bump-deps: check
@echo
@echo "### Upgrading dependencies"
Expand All @@ -182,6 +198,7 @@ bump-deps: check
# all dependencies for the Go module.
#
# Usage: `make bump-deps-full`
.PHONY: bump-deps-full
bump-deps-full: check
@echo
@echo "### Upgrading all dependencies"
Expand All @@ -191,6 +208,7 @@ bump-deps-full: check
# the Docker image for the plugin.
#
# Usage: `make docker-build`
.PHONY: docker-build
docker-build:
@echo
@echo "### Building vela-terraform:local image"
Expand All @@ -200,6 +218,7 @@ docker-build:
# the Docker image for the plugin with test variables.
#
# Usage: `make docker-test`
.PHONY: docker-test
docker-test:
@echo
@echo "### Testing vela-terraform:local image"
Expand All @@ -217,6 +236,7 @@ docker-test:
# the Docker image for the plugin.
#
# Usage: `make docker-run`
.PHONY: docker-run
docker-run:
@echo
@echo "### Executing vela-terraform:local image"
Expand Down

0 comments on commit 642f3d9

Please sign in to comment.