File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- .PHONY : help test test-integration lint fmt
1+ .PHONY : help build test test-integration lint fmt clean all
22
33# Default target when 'make' is run without arguments
44help :
55 @echo " Available targets:"
6- @echo " test - Run unit tests"
6+ @echo " build - Compile the project"
7+ @echo " test - Run unit tests"
78 @echo " test-integration - Run integration tests"
8- @echo " lint - Run static analysis and checkstyle"
9- @echo " fmt - Auto-format code using Spotless"
9+ @echo " lint - Run static analysis and checkstyle"
10+ @echo " fmt - Auto-format code using Spotless"
11+ @echo " clean - Clean build artifacts"
12+ @echo " all - Run all tests and lint"
13+
14+ # Compile the project
15+ build :
16+ ./gradlew assemble
1017
1118# Run unit tests
1219test :
2431fmt :
2532 ./gradlew spotlessApply
2633
27-
2834# Clean build artifacts
2935clean :
3036 ./gradlew clean
3137
32- # Run all tests
38+ # Run all tests and lint
3339all : test lint
34- @echo " All checks completed"
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ testing {
143143// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
144144spotless {
145145 // comment out below to run spotless as part of the `check` task
146- enforceCheck false
146+ enforceCheck = false
147147 format ' misc' , {
148148 // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
149149 target ' .gitignore'
You can’t perform that action at this time.
0 commit comments