From 761c9bbb5556e2484223b8cd8ea38f82baa5bfff Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 10 Apr 2021 22:43:11 +0700 Subject: Makefile: migrasi server ke tempat yang baru Untuk menandai migrasi, kita mengganti nama host dari personal-www menjadi www-golangid. Selain itu, tandai task build-deploy sebagai PHONY task. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 519477f..56af142 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: clean all generate build deploy +.PHONY: clean all generate build build-deploy deploy MACOS_SERVICE=local.golangid PROGRAM_NAME=www-golangid @@ -23,7 +23,7 @@ serve: generate DEBUG=1 go run ./cmd/$(PROGRAM_NAME) -port=5080 deploy: build-deploy - rsync --progress ./$(PROGRAM_NAME) personal-www:~/bin/ + rsync --progress ./$(PROGRAM_NAME) www-golangid:/data/app/bin/ build-deploy: generate unset CGO_ENABLED; \ -- cgit v1.3