From 12f106291351917b941b5558bb0f2411e6f8dfde Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 30 Jun 2022 12:30:48 +0200 Subject: [PATCH] Fix makefile After Legacy/v2 endpoints refactoring the old build command fails with: ./main.go:152:2: undefined: RegisterLegacyEndpoints ./main.go:153:2: undefined: RegisterV2Endpoints --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 525caa0..0ca7fd2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ .env: cp .env_example .env + build: - CGO_ENABLED=0 go build -o lndhub main.go + CGO_ENABLED=0 go build -o lndhub