-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (24 loc) · 749 Bytes
/
Makefile
File metadata and controls
33 lines (24 loc) · 749 Bytes
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
30
31
32
33
.DEFAULT_GOAL := help
MVNW := ./mvnw -B -ntp
.PHONY: help test verify format lint clean cli
help:
@printf "Available targets (requires Java 17):\n"
@printf " make test - Run unit tests\n"
@printf " make verify - Run lint, build, and tests\n"
@printf " make format - Apply Spotless formatting\n"
@printf " make lint - Run Spotless and SpotBugs checks\n"
@printf " make clean - Remove build outputs\n"
@printf " make cli - Build and run the CLI with ARGS=\"...\"\n"
test:
$(MVNW) test
verify:
$(MVNW) verify
format:
$(MVNW) spotless:apply
lint:
$(MVNW) spotless:check spotbugs:check
clean:
$(MVNW) clean
cli:
@$(MVNW) -q -DskipTests package >/dev/null
@java -jar target/bip39-java-0.1.0-SNAPSHOT.jar $(ARGS)