30 lines
612 B
Makefile
Executable File
30 lines
612 B
Makefile
Executable File
.PHONY: compile run clean verify test help
|
|
|
|
compile:
|
|
@echo "Compiling source files..."
|
|
mvn compile
|
|
|
|
run:
|
|
@echo "Running the application..."
|
|
mvn clean spring-boot:run
|
|
|
|
clean:
|
|
@echo "Cleaning build artifacts..."
|
|
mvn clean
|
|
|
|
verify:
|
|
@echo "Running tests and verifications..."
|
|
mvn verify
|
|
|
|
test:
|
|
@echo "Running tests..."
|
|
mvn test
|
|
|
|
help:
|
|
@echo "Available targets:"
|
|
@echo " make compile - Compile the source files"
|
|
@echo " make clean - Clean build artifacts"
|
|
@echo " make verify - Run tests and verifications"
|
|
@echo " make test - Run tests"
|
|
@echo " make help - Show this help message"
|