This is an automated email from the ASF dual-hosted git repository.

yasith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new c933b76efe feat: add root Makefile for common build/serve targets 
(#611)
c933b76efe is described below

commit c933b76efe7ae44c1cf9fe2e4de81ede963b84d0
Author: Yasith Jayawardana <[email protected]>
AuthorDate: Mon Mar 30 16:21:25 2026 -0400

    feat: add root Makefile for common build/serve targets (#611)
    
    Extracted from #556. Provides convenience targets:
    - make build: full Maven build (skip tests)
    - make serve: build + run fat JAR
    - make compile: fast compile only
    - make serve-dev: compile + spring-boot:run (hot reload)
    - make test: run test suite
---
 Makefile | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..bd58c90ced
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.DEFAULT_GOAL := serve
+
+build:
+       mvn clean install -DskipTests -T4
+
+serve: build
+       java -jar airavata-server/target/airavata-server-0.21-SNAPSHOT.jar
+
+compile:
+       mvn clean compile -DskipTests -T4
+
+serve-dev: compile
+       mvn spring-boot:run -pl airavata-server
+
+test:
+       mvn test -T4

Reply via email to