File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ $(GOLANGCI_LINT): $(LOCALBIN)
4646# # Update Tools
4747.PHONY : update-toolbox-tools
4848update-toolbox-tools :
49+ @rm -f \
50+ $(LOCALBIN ) /semver \
51+ $(LOCALBIN ) /golangci-lint
4952 toolbox makefile -f $$(pwd ) /Makefile \
5053 github.com/bakito/semver \
5154 github.com/golangci/golangci-lint/cmd/golangci-lint
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ toolbox makefile -f ./Makefile \
8484``` Makefile
8585# # toolbox - start
8686# # Location to install dependencies to
87- LOCALBIN ?= $(shell pwd) /bin
87+ LOCALBIN ?= $(shell test -s "cygpath -m $$( pwd ) " || pwd) /bin
8888$(LOCALBIN ) :
8989 mkdir -p $(LOCALBIN )
9090
Original file line number Diff line number Diff line change 55 markerEnd = "## toolbox - end"
66 makefileTemplate = markerStart + `
77## Location to install dependencies to
8- LOCALBIN ?= $(shell pwd)/bin
8+ LOCALBIN ?= $(shell test -s "cygpath -m $$(pwd)" || pwd)/bin
99$(LOCALBIN):
1010 mkdir -p $(LOCALBIN)
1111
Original file line number Diff line number Diff line change 22
33## toolbox - start
44## Location to install dependencies to
5- LOCALBIN ?= $(shell pwd)/bin
5+ LOCALBIN ?= $(shell test -s "cygpath -m $$(pwd)" || pwd)/bin
66$(LOCALBIN):
77 mkdir -p $(LOCALBIN)
88
Original file line number Diff line number Diff line change 11## toolbox - start
22## Location to install dependencies to
3- LOCALBIN ?= $(shell pwd)/bin
3+ LOCALBIN ?= $(shell test -s "cygpath -m $$(pwd)" || pwd)/bin
44$(LOCALBIN):
55 mkdir -p $(LOCALBIN)
66
You can’t perform that action at this time.
0 commit comments