From eaa373af5ff00ae98d12a43c24c594ed31fe5ed0 Mon Sep 17 00:00:00 2001 From: "Jon R. Humphrey" Date: Tue, 17 Sep 2024 18:06:14 +0100 Subject: [PATCH] build: Added `local` target Used for local development without asset compilation --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 96d13711..9bdef18e 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,14 @@ image: auth lint: assets @./bin/bundle exec rubocop +local: + @echo "Installing bundler packages ..." + @./bin/bundle install + @echo "Installing yarn packages ..." + @yarn install + @echo "Starting local server ..." + @./bin/rails server -p ${PORT} + publish: image @echo Publishing image: ${REPO}:${TAG} ... @docker tag ${NAME}:${TAG} ${REPO}:${TAG} 2>&1