From 6ff9dda3538af25d6bb7d234798d3ee31ae7a470 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Wed, 8 May 2024 15:20:08 +0900 Subject: [PATCH] fix: add makefile variable Signed-off-by: hlts2 --- Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index da769b72..a83424cc 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,24 @@ XMS = 2g XMX = 6g -VERSION=$(shell cat VALD_CLIENT_CLJ_VERSION) - -NATIVE_IMAGE_CONFIG_OUTPUT_DIR=native-config - -TARGET_JAR=target/vald-client-clj-$(VERSION)-standalone.jar +REPO ?= vdaas +NAME = vald +VALDREPO = github.com/$(REPO)/$(NAME) +LANGUAGE = clj +PKGNAME = $(NAME)-client-$(LANGUAGE) +PKGREPO = github.com/$(REPO)/$(PKGNAME) VALD_DIR = vald VALD_SHA = VALD_SHA VALD_CLIENT_CLJ_VERSION = VALD_CLIENT_CLJ_VERSION VALD_CHECKOUT_REF ?= main +VERSION=$(shell cat VALD_CLIENT_CLJ_VERSION) + +NATIVE_IMAGE_CONFIG_OUTPUT_DIR=native-config + +TARGET_JAR=target/vald-client-clj-$(VERSION)-standalone.jar + TEST_DATASET_PATH = wordvecs1000.json .PHONY: all