Skip to content

Commit

Permalink
Merge branch 'master' into BACK-3295-private-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
darinkrauss committed Jan 21, 2025
2 parents 4db0134 + 6102734 commit fc9ed90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ GO_BUILD_FLAGS:=-buildvcs=false
GO_LD_FLAGS:=-ldflags '-X $(VERSION_PACKAGE).VersionBase=$(VERSION_BASE) -X $(VERSION_PACKAGE).VersionShortCommit=$(VERSION_SHORT_COMMIT) -X $(VERSION_PACKAGE).VersionFullCommit=$(VERSION_FULL_COMMIT)'

FIND_CMD=find . -not -path '*/.git/*' -not -path '*/.gvm_local/*' -not -path '*/.vs_code/*'
FIND_MAIN_CMD:=$(FIND_CMD) -path './$(BUILD)*' -type f -name '*.go' -not -name '*_test.go' -exec egrep -l '^\s*func\s+main\s*(\s*)' {} \;
FIND_MAIN_CMD:=$(FIND_CMD) -path './$(BUILD)*' -type f -name '*.go' -not -name '*_test.go' -exec grep -E -l '^\s*func\s+main\s*(\s*)' {} \;
TRANSFORM_GO_BUILD_CMD:=sed 's|\.\(.*\)\(/[^/]*\)/[^/]*|_bin\1\2\2 .\1\2/.|'

GO_BUILD_CMD:=go build $(GO_BUILD_FLAGS) $(GO_LD_FLAGS)
Expand Down Expand Up @@ -179,7 +179,7 @@ generate: go-generate format-write imports-write vet

ci-generate: generate
@cd $(ROOT_DIRECTORY) && \
O=`git status -s | egrep -v '(\.gitmodules|go\.sum)' || true` && \
O=`git status -s | grep -E -v '(\.gitmodules|go\.sum)' || true` && \
[ -z "$${O}" ] || (echo "$${O}" && exit 1)

format:
Expand Down Expand Up @@ -407,7 +407,7 @@ gopath-implode:
@cd $(REPOSITORY_GOPATH) && rm -rf bin pkg && find src -not -path "src/$(REPOSITORY_PACKAGE)/*" -type f -delete && find src -not -path "src/$(REPOSITORY_PACKAGE)/*" -type d -empty -delete

phony:
@egrep '^[^ #]+:( |$$)' $(MAKEFILE) | sed -E 's/^([^ #]+):.*/\1/' | sort -u | grep -v '^.PHONY' | xargs echo '.PHONY:' | fold -s -w 80 | sed '$$!s/$$/\\/;2,$$s/^/ /g'
@grep -E '^[^ #]+:( |$$)' $(MAKEFILE) | sed -E 's/^([^ #]+):.*/\1/' | sort -u | grep -v '^.PHONY' | xargs echo '.PHONY:' | fold -s -w 80 | sed '$$!s/$$/\\/;2,$$s/^/ /g'

.PHONY: CompileDaemon bindir build build-list build-watch buildable ci ci-build \
ci-build-watch ci-docker ci-generate ci-init ci-test ci-test-ginkgo \
Expand Down

0 comments on commit fc9ed90

Please sign in to comment.