mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-02-23 10:18:49 +08:00
chore: improve performance and update dependencies
- Add `bin` to .gitignore - Change output path for the executable in Makefile - Update `github.com/stretchr/testify` to v1.8.4 - Update `github.com/urfave/cli/v2` to v2.25.5 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -81,7 +81,7 @@ install: $(GOFILES)
|
||||
build: $(EXECUTABLE)
|
||||
|
||||
$(EXECUTABLE): $(GOFILES)
|
||||
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o $@
|
||||
$(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o bin/$@
|
||||
|
||||
build_linux_amd64:
|
||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO) build -a -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o release/linux/amd64/$(DEPLOY_IMAGE)
|
||||
|
||||
Reference in New Issue
Block a user