From 0ac95afc9f03272bfb724dfd25a0053cbaf697c8 Mon Sep 17 00:00:00 2001 From: Mohammad Aziz Date: Fri, 29 Aug 2025 15:51:34 +0530 Subject: [PATCH] Allow push the binary to a host for better testing --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index c05cc62..5fb25b8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,10 @@ .PHONY: test start +.PHONY: test start pushbuild test: go test ./... test-all: docker build -f dockers/DockerTestfile -t hostlink-test --progress plain --no-cache --target run-test-stage . start: go run ./... +pushbuild: + GOOS=linux GOARCH=amd64 go build -o hostlink . && scp -O hostlink hlink:~