File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,20 @@ down:
4343repo-clean :
4444 rm -rf ~ /.m2/repository/com/studiomediatech/query-response-spring-amqp
4545
46- .PHONY : demo run-demo
46+ # #
47+ # # Demo targets
48+ # #
49+ # # These targets are used to run the demo application and its components.
50+ # # They depend on the `install` target to ensure that the application is built
51+ # # and ready to run. The up target starts the necessary Docker containers,
52+ # # and the run-demo target orchestrates the execution of the demo components.
53+ # # Please note that the parallel execution of the demo components is what makes
54+ # # it possible to start the individual components in the background.
55+ # #
56+ .PHONY : demo run-demo run-demo run-query run-response run-ui
4757demo : install up
4858 ${MAKE} -j3 run-demo
4959
50- .PHONY : run-demo run-query run-response run-ui
5160run-demo : run-ui run-query run-response
5261
5362run-query :
@@ -59,4 +68,4 @@ run-response:
5968 ${MAKE} -C examples/responding/
6069
6170run-ui :
62- ${MAKE} -C ui/
71+ ${MAKE} demo -C ui/
Original file line number Diff line number Diff line change 11JAVA_HOME =$(shell unset JAVA_HOME; /usr/libexec/java_home -v 21)
22MVN := ../mvnw
33
4- .PHONY : run build test verify v clean tidy
4+ .PHONY : run demo build test verify v clean tidy
55
66run :
77 ${MVN} spring-boot:run
@@ -10,14 +10,16 @@ test verify v:
1010 ${MVN} clean verify
1111
1212build :
13- ${MVN} clean prepare-package -DskipTests
13+ ${MVN} clean prepare-package
1414 mkdir -p target/classes/static
1515 @$(MAKE ) -C ../ui-frontend build
1616 cp -r ../ui-frontend/dist/* target/classes/static/
17- ${MVN} package -DskipTests
17+ ${MVN} package
1818
1919clean :
2020 rm -rf target/
2121
2222tidy :
2323 ${MVN} formatter:format
24+
25+ demo : build run
You can’t perform that action at this time.
0 commit comments