From 8a7d6b55590eef8bf6e31fdc7b2349b8d4f1b27a Mon Sep 17 00:00:00 2001 From: Manuel Luypaert Date: Thu, 25 Jan 2024 17:49:11 +0000 Subject: [PATCH] Make build target naming consistent --- Makefile | 6 +++--- README.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a9522c8b..eb8bf0c6 100644 --- a/Makefile +++ b/Makefile @@ -97,9 +97,9 @@ build: ENV.VERSION_TAG clean build/ ui-build build/${DEPLOY_JAR} \ @docker build -t ${ECR_REPO_NAME}:${VERSION_TAG} \ --build-arg uberjar_path=build/${DEPLOY_JAR} . -.PHONY: ui-build -ui-build: ENV.GOOGLE_OAUTH_CLIENT_ID \ - $(call print-help,ui-build,\ +.PHONY: build-ui +build-ui: ENV.GOOGLE_OAUTH_CLIENT_ID \ + $(call print-help,build-ui,\ Build JS and CSS file for release.) @ export REACT_APP_GOOGLE_OAUTH_CLIENT_ID=${GOOGLE_OAUTH_CLIENT_ID} && \ echo "Building UI using APP_PROFILE: '${APP_PROFILE}'" && \ diff --git a/README.md b/README.md index efb013a1..77070453 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ Correct functionality of the client app can be tested in two ways: - Making a production build of the client app. Failure during this process means fixes will be needed before deployment. ```bash # performs a npm clean install of dependencies based on package-lock.json -make ui-build +make build-ui ``` To start up a local client development server: @@ -299,7 +299,7 @@ To deploy an update for the main application, change your working dir to the repository root dir and execute the following commands (bash): ```bash # Build the client application to ensure no errors occur. -make ui-build APP_PROFILE=prod +make build-ui APP_PROFILE=prod # Generate the pom.xml file (not version-controlled) # to ensure no errors occur (in API code)