From 35cb16eb3c8d659698b1b1ed6bbd11b418989a87 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Thu, 25 Mar 2021 20:56:40 -0400 Subject: [PATCH] Deprecated, use Makefile command instead Signed-off-by: Andrew Welch --- scripts/docker_prod_build.sh | 39 ------------------------------------ 1 file changed, 39 deletions(-) delete mode 100755 scripts/docker_prod_build.sh diff --git a/scripts/docker_prod_build.sh b/scripts/docker_prod_build.sh deleted file mode 100755 index a4d3dad..0000000 --- a/scripts/docker_prod_build.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -# Build production assets -# -# Build the production assets inside of the buildchain Docker container -# -# @author nystudio107 -# @copyright Copyright (c) 2020 nystudio107 -# @link https://nystudio107.com/ -# @package craft-scripts -# @since 1.2.2 -# @license MIT - -# Get the directory of the currently executing script -DIR="$(dirname "${BASH_SOURCE[0]}")" - -# Include files -INCLUDE_FILES=( - "common/defaults.sh" - ".env.sh" - ) -for INCLUDE_FILE in "${INCLUDE_FILES[@]}" -do - if [[ ! -f "${DIR}/${INCLUDE_FILE}" ]] ; then - echo "File ${DIR}/${INCLUDE_FILE} is missing, aborting." - exit 1 - fi - source "${DIR}/${INCLUDE_FILE}" -done - -# Temporary db dump path (remote & local) -if [[ -z "${LOCAL_BUILDCHAIN_CONTAINER}" ]]; then - echo "Variable LOCAL_BUILDCHAIN_CONTAINER is missing from .env.sh, aborting." -else - docker exec -it ${LOCAL_BUILDCHAIN_CONTAINER} npm run build -fi - -# Normal exit -exit 0