From a125f8f570e6b90b62aed15f445d270b0ca383f7 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 10 Oct 2021 01:17:57 +0700 Subject: Makefile: tambahan task untuk penerbitan ke VM Perintah `make deploy-vm` akan membuat dan menyalin program yang baru pada VM di lokal untuk pengujian sebelum di deploy ke peladen publik. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 56af142..6583b08 100644 --- a/Makefile +++ b/Makefile @@ -46,3 +46,6 @@ install-local-macos: deploy-local: build sudo cp -f ./$(PROGRAM_NAME) /usr/local/bin/ + +deploy-vm: build + rsync ./$(PROGRAM_NAME) golang-id.local:~/bin/ -- cgit v1.3