From 1d9f9e7e2dfb9bf09b3e103a37efae50d0b3ed4f Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Wed, 30 Oct 2019 21:39:38 +0100 Subject: [PATCH] generating the file helper before using it --- scripts/client_build.sh | 7 +++++++ scripts/web_build.sh | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/scripts/client_build.sh b/scripts/client_build.sh index 3b44e4b9..643df159 100755 --- a/scripts/client_build.sh +++ b/scripts/client_build.sh @@ -19,6 +19,13 @@ else exit 1 fi +echo "Generating file helper script" +npm run compile-file-helper +if [[ $? -ne 0 ]]; then + echo "Failed to generate file helper" + exit 1 +fi + echo "Generating style files" npm run compile-sass if [[ $? -ne 0 ]]; then diff --git a/scripts/web_build.sh b/scripts/web_build.sh index 54b46820..1a87034e 100755 --- a/scripts/web_build.sh +++ b/scripts/web_build.sh @@ -20,6 +20,13 @@ else exit 1 fi +echo "Generating file helper script" +npm run compile-file-helper +if [[ $? -ne 0 ]]; then + echo "Failed to generate file helper" + exit 1 +fi + echo "Generating style files" npm run compile-sass if [[ $? -ne 0 ]]; then