diff --git a/cli/Makefile b/cli/Makefile index 9ecbcb77..637d8f19 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -1,7 +1,7 @@ BINARY_NAME := ossie BUILD_DIR := dist -.PHONY: build test lint release-dry-run clean +.PHONY: build test lint format release-dry-run clean build: go build -o $(BUILD_DIR)/$(BINARY_NAME) . @@ -12,6 +12,9 @@ test: lint: go vet ./... +format: + gofmt -w . + release-dry-run: goreleaser release --snapshot --clean --config .goreleaser.yaml diff --git a/cli/internal/ossiedir/ossiedir.go b/cli/internal/ossiedir/ossiedir.go index 051a8bd8..323c41a2 100644 --- a/cli/internal/ossiedir/ossiedir.go +++ b/cli/internal/ossiedir/ossiedir.go @@ -8,8 +8,8 @@ import ( const ( defaultOssieDir = ".ossie" - pluginsSubdir = "plugins" - envVar = "OSSIE_PLUGIN_DIR" + pluginsSubdir = "plugins" + envVar = "OSSIE_PLUGIN_DIR" ) // PluginDir returns the resolved plugin directory path.