Setup basic project, runs on 8080 localhost
This commit is contained in:
29
Makefile
Normal file
29
Makefile
Normal file
@@ -0,0 +1,29 @@
|
||||
.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"
|
||||
Reference in New Issue
Block a user