diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-21 15:32:01 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-04-21 15:33:16 +0300 |
commit | 0b72ebb264acc1f95ff9547dacb2ca3f2924682e (patch) | |
tree | 6cbf358683276a48b694fe4c80e460c39ef0a202 /Makefile.build.mk | |
parent | 7250a994989f44c8bc3b83f60cba564cd3c3a74e (diff) |
Fix permission error by using native go command in make clean
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index debd1941..90f8b5ac 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -19,7 +19,7 @@ build: .GOPATH/.ok $Q GOBIN=$(CURDIR)/bin go install $(if $V,-v) $(VERSION_FLAGS) -tags "${GO_BUILD_TAGS}" -buildmode exe $(IMPORT_PATH) clean: - $Q rm -rf bin .GOPATH gitlab-pages + $Q GOBIN=$(CURDIR)/bin go clean -i -modcache -x gitlab-pages: build $Q cp -f ./bin/gitlab-pages . |