From f82df82f404559711b05e71a05d7437c313f8629 Mon Sep 17 00:00:00 2001 From: hirokisan Date: Sat, 12 Nov 2022 18:31:50 +0900 Subject: [PATCH] fix handle variable --- examples/run_report/Makefile | 4 ++-- gen/columns/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/run_report/Makefile b/examples/run_report/Makefile index f198df9..dec0cca 100644 --- a/examples/run_report/Makefile +++ b/examples/run_report/Makefile @@ -1,5 +1,5 @@ -PROPERTY_ID="properties/yourPropertyID" -CREDENTIAL_PATH="./credential.json" +PROPERTY_ID ?= "properties/yourPropertyID" +CREDENTIAL_PATH := "./credential.json" run: PROPERTY_ID=${PROPERTY_ID} CREDENTIAL_PATH=${CREDENTIAL_PATH} go run main.go diff --git a/gen/columns/Makefile b/gen/columns/Makefile index 2d70296..a988a87 100644 --- a/gen/columns/Makefile +++ b/gen/columns/Makefile @@ -1,5 +1,5 @@ -CREDENTIAL_PATH="./credential.json" -OUTPUT_PATH="../../const_columns_gen.go" +CREDENTIAL_PATH := "./credential.json" +OUTPUT_PATH := "../../const_columns_gen.go" gen: CREDENTIAL_PATH=${CREDENTIAL_PATH} OUTPUT_PATH=${OUTPUT_PATH} go run main.go