From 25258d3d64a8286919995f6074293138b89fdbba Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 5 Sep 2023 11:46:18 +0200 Subject: [PATCH] fix: separate abra/kababra makefile targets --- Makefile | 5 ++++- tests/integration/helpers.sh | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e9597ab0..3349a1b9 100644 --- a/Makefile +++ b/Makefile @@ -15,9 +15,12 @@ run: install: @go install -ldflags=$(LDFLAGS) $(ABRA) -build-dev: +build-abra: @go build -v -ldflags=$(LDFLAGS) $(ABRA) +build-kadabra: + @go build -v -ldflags=$(LDFLAGS) $(KADABRA) + build: @go build -v -ldflags=$(DIST_LDFLAGS) $(ABRA) @go build -v -ldflags=$(DIST_LDFLAGS) $(KADABRA) diff --git a/tests/integration/helpers.sh b/tests/integration/helpers.sh index 19836a22..e573b631 100644 --- a/tests/integration/helpers.sh +++ b/tests/integration/helpers.sh @@ -2,7 +2,7 @@ _build_abra() { if [[ ! -e "$ROOT/abra" ]]; then - cd "$ROOT" && make build-dev + cd "$ROOT" && make build-abra return 0 fi return 0 @@ -10,7 +10,7 @@ _build_abra() { _build_kadabra() { if [[ ! -e "$ROOT/kadabra" ]]; then - cd "$ROOT" && make build-dev + cd "$ROOT" && make build-kadabra return 0 fi return 0