From e58b147e254d0ba8339c3be567d69b6a12391f40 Mon Sep 17 00:00:00 2001 From: Vladimir Dementyev Date: Mon, 28 Oct 2024 15:28:20 -0700 Subject: [PATCH] - make init: update bin name and output --- etc/init.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/init.go b/etc/init.go index e759a86..872d553 100644 --- a/etc/init.go +++ b/etc/init.go @@ -54,6 +54,8 @@ func main() { // Replace in Makefile replaceInFile("Makefile", "PROJECT=anycable/mycable", "PROJECT="+project) + replaceInFile("Makefile", "BIN_NAME=mycable", "BIN_NAME="+binName) + replaceInFile("Makefile", "OUTPUT ?= dist/mycable", "OUTPUT ?= dist/"+binName) // Rename cmd directory err = os.Rename("cmd/mycable", "cmd/"+binName)