mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-24 15:55:14 +00:00
rewrite dist targets
This commit is contained in:
parent
174f9becd8
commit
160a914e04
12
Makefile
12
Makefile
|
@ -112,13 +112,11 @@ $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-linux-arm64.tar.gz: $(DIST_DIR)/$(VERSION
|
|||
dist-bbgo-linux: static $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-linux-arm64.tar.gz $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-linux-amd64.tar.gz
|
||||
|
||||
|
||||
$(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-amd64.tar.gz: $(DIST_DIR)/$(VERSION) bbgo-darwin bbgo-slim-darwin
|
||||
tar -C $(BIN_DIR) -cvzf $@ bbgo-darwin-amd64
|
||||
gpg --detach-sign --armor $@
|
||||
|
||||
$(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-arm64.tar.gz: $(DIST_DIR)/$(VERSION) bbgo-darwin bbgo-slim-darwin
|
||||
tar -C $(BIN_DIR) -cvzf $@ bbgo-darwin-arm64
|
||||
gpg --detach-sign --armor $@
|
||||
$(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-amd64.tar.gz $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-arm64.tar.gz: $(DIST_DIR)/$(VERSION)
|
||||
$(MAKE) bbgo-$(subst bbgo-$(VERSION)-,,$(basename $(basename $(notdir $@))))
|
||||
$(MAKE) bbgo-slim-$(subst bbgo-$(VERSION)-,,$(basename $(basename $(notdir $@))))
|
||||
tar -C $(BIN_DIR) -cvzf $@ $(subst $(VERSION)-,,$(basename $(basename $(notdir $@))))
|
||||
gpg --yes --detach-sign --armor $@
|
||||
|
||||
dist-bbgo-darwin: static $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-arm64.tar.gz $(DIST_DIR)/$(VERSION)/bbgo-$(VERSION)-darwin-amd64.tar.gz
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user