From 585e4c11447752e6ee6a9bbe8fa7aaeba992ebee Mon Sep 17 00:00:00 2001 From: Fabrizio Furano Date: Thu, 12 Oct 2023 16:31:06 +0200 Subject: [PATCH] Update Makefile Co-authored-by: Gianmaria Del Monte <39946305+gmgigi96@users.noreply.github.com> --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0a15aefc6c..822902d97f 100644 --- a/Makefile +++ b/Makefile @@ -43,10 +43,13 @@ BUILD_FLAGS = "`[[ -z "$(STATIC)" ]] && echo "" || echo "-extldflags=-static"` - revad: go build -ldflags $(BUILD_FLAGS) -o ./cmd/revad/revad ./cmd/revad/main -cernbox-revad: +.PHONY: gaia +gaia: go install github.com/cs3org/gaia@latest - gaia build -v --with github.com/cernbox/reva-plugins/group=github.com/cernbox/reva-plugins/group@38d2a9c --with github.com/cs3org/reva=/root/Park/reva/reva --with github.com/cernbox/reva-plugins -o ./cmd/revad/revad +.PHONY: cernbox-revad +cernbox-revad: gaia + gaia build --with github.com/cernbox/reva-plugins --with github.com/cs3org/reva=$(shell pwd) -o ./cmd/revad/revad .PHONY: revad-ceph revad-ceph: go build -ldflags $(BUILD_FLAGS) -tags ceph -o ./cmd/revad/revad ./cmd/revad/main