forked from appbaseio/reactivesearch-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
13 lines (9 loc) · 727 Bytes
/
Makefile
File metadata and controls
13 lines (9 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
GC=go build
BUILD_DIR=build
DEFAULT_VERSION=8.22.2
VERSION := $(or $(VERSION),$(DEFAULT_VERSION))
cmd: build
build:
$(GC) -pgo=auto -ldflags "-w -X main.Billing=$(BILLING) -X main.HostedBilling=$(HOSTED_BILLING) -X main.ClusterBilling=$(CLUSTER_BILLING) -X main.Opensource=$(OPENSOURCE) -X main.PlanRefreshInterval=$(PLAN_REFRESH_INTERVAL) -X main.IgnoreBillingMiddleware=$(IGNORE_BILLING_MIDDLEWARE) -X main.Tier=$(TEST_TIER) -X main.FeatureCustomEvents=$(TEST_FEATURE_CUSTOM_EVENTS) -X main.FeatureSuggestions=$(TEST_FEATURE_SUGGESTIONS) -X main.FeatureOpenAI=$(TEST_FEATURE_OPEN_AI) -X main.Version=$(VERSION)" -o $(BUILD_DIR)/reactivesearch github.com/appbaseio-confidential/reactivesearch
clean:
rm -rf $(BUILD_DIR)