2020VERSION_FILE =version.txt
2121VERSION =$(shell cat $(VERSION_FILE ) )
2222BINARY_NAME =thunder
23+ PRODUCT_NAME =Thunder
2324
2425export WITHOUT_CONSENT ?= false
2526
@@ -109,19 +110,19 @@ run_docs:
109110 ./build.sh run_docs
110111
111112docker-build :
112- docker build -t thunder :$(VERSION ) .
113+ docker build -t $( BINARY_NAME ) :$(VERSION ) .
113114
114115docker-build-latest :
115- docker build -t thunder :latest .
116+ docker build -t $( BINARY_NAME ) :latest .
116117
117118docker-build-multiarch :
118- docker buildx build --platform linux/amd64,linux/arm64 -t thunder :$(VERSION ) .
119+ docker buildx build --platform linux/amd64,linux/arm64 -t $( BINARY_NAME ) :$(VERSION ) .
119120
120121docker-build-multiarch-latest :
121- docker buildx build --platform linux/amd64,linux/arm64 -t thunder :latest .
122+ docker buildx build --platform linux/amd64,linux/arm64 -t $( BINARY_NAME ) :latest .
122123
123124docker-build-multiarch-push :
124- docker buildx build --platform linux/amd64,linux/arm64 -t thunder :$(VERSION ) -t thunder :latest --push .
125+ docker buildx build --platform linux/amd64,linux/arm64 -t $( BINARY_NAME ) :$(VERSION ) -t $( BINARY_NAME ) :latest --push .
125126
126127lint : lint_backend lint_frontend
127128
@@ -152,7 +153,7 @@ help:
152153 @echo " all - Clean, build, and test the project."
153154 @echo " backend - Clean, build, and test only the backend."
154155 @echo " clean - Remove build artifacts."
155- @echo " build - Build Thunder (backend + frontend + samples)."
156+ @echo " build - Build $( PRODUCT_NAME ) (backend + frontend + samples)."
156157 @echo " build_backend - Build the backend Go application."
157158 @echo " build_frontend - Build the frontend applications."
158159 @echo " build_docs - Build the documentation."
@@ -163,9 +164,9 @@ help:
163164 @echo " build_with_coverage - Build with coverage flags, run unit and integration tests, and generate combined coverage report."
164165 @echo " build_with_coverage_only - Build with coverage instrumentation (unit tests only, no integration tests)."
165166 @echo " test - Run all tests (unit and integration)."
166- @echo " run - Build and run the Thunder server locally."
167- @echo " run_backend - Build and run the Thunder backend locally."
168- @echo " debug_backend - Build and run the Thunder backend locally in debug mode."
167+ @echo " run - Build and run the $( PRODUCT_NAME ) server locally."
168+ @echo " run_backend - Build and run the $( PRODUCT_NAME ) backend locally."
169+ @echo " debug_backend - Build and run the $( PRODUCT_NAME ) backend locally in debug mode."
169170 @echo " run_frontend - Build and run the frontend applications locally."
170171 @echo " run_docs - Run the documentation development server with live reload."
171172 @echo " docker-build - Build single-arch Docker image with version tag."
0 commit comments