aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-22 13:10:17 +0700
committerShulhan <ms@kilabit.info>2023-11-22 13:10:17 +0700
commit15a46bfff7d67f0f497e41a006d34f195398a456 (patch)
tree3fad4f308449ad069ccb3a56aa0f4a1ff4340a87
parent7bc9bb8b2652a8724ab4b0eb267b56bab4ce6703 (diff)
downloadawwan-15a46bfff7d67f0f497e41a006d34f195398a456.tar.xz
all: change deployment directly to server
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 70dda01..9601a15 100644
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,7 @@ build-all-amd64:
for os in "darwin" "dragonfly" "freebsd" "linux" "netbsd" "openbsd" "plan9" "solaris" "windows"; do \
echo ">>> Building for $$os/$(GOARCH)";\
GOOS=$$os go build \
- -o _bin/awwan-$$os-$(GOARCH) \
+ -o _bin/dl/awwan-$$os-$(GOARCH) \
-trimpath \
-ldflags="$(LD_FLAGS)" \
./cmd/awwan/;\
@@ -127,7 +127,7 @@ build-all-arm64:
for os in "darwin" "freebsd" "linux" "netbsd" "openbsd" "windows"; do \
echo ">>> Building for $$os/$(GOARCH)";\
GOOS=$$os go build \
- -o _bin/awwan-$$os-$(GOARCH) \
+ -o _bin/dl/awwan-$$os-$(GOARCH) \
-trimpath \
-ldflags="$(LD_FLAGS)" \
./cmd/awwan/;\
@@ -135,7 +135,7 @@ build-all-arm64:
.PHONY: release-sync
release-sync:
- rclone sync --progress ./_bin info-kilabit:/pub/awwan
+ rsync -av --progress ./_bin/dl/ awwan.org:/srv/awwan/dl/
.PHONY: release-tip
release-tip: embed build-all-amd64 build-all-arm64 release-sync