forked from Aiven-Open/klaw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (21 loc) · 812 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version = 2.0.0
# Sets a custom hook path in the local git config.
# Currently there's only a pre-commit hook related
# to changes in `/coral/*` and `openapi.yaml`
# so it's not needed for pure backend changes.
config_hook_path:
$(shell git config --local core.hooksPath .githooks/)
echo "✅ Custom git hook path set!"
build_all: klaw_core cluster_api
klaw_core:
cd core && mvn clean verify
cluster_api:
cd cluster-api && mvn clean verify
edit-core-config:
${EDITOR} core/target/classes/application.properties
edit-cluster-api-config:
${EDITOR} cluster-api/target/classes/application.properties
run-core:
java -jar core/target/klaw-$(version).jar
run-cluster-api:
java -jar cluster-api/target/cluster-api-$(version).jar --spring.config.location=cluster-api/target/classes/application.properties