From e9d338253744dacc5dd91a810df70d38d45d5047 Mon Sep 17 00:00:00 2001 From: Anthony Hashemi Date: Fri, 27 Oct 2023 16:49:26 +0100 Subject: [PATCH] Remove demo specific lines from build.sh script --- build.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/build.sh b/build.sh index da6df230..4aba1a7f 100755 --- a/build.sh +++ b/build.sh @@ -12,23 +12,3 @@ mv app/static/assets/* app/static rm -rf app/static/assets rm -rf app/static/VERSION.txt rm -rf govuk_frontend.zip - -##################################################################### -## The following is only required for the demos and can be removed ## -##################################################################### - -# Remove existing GOV.UK Frontend test fixtures -rm -rf govuk_components - -# Get new release source code and move to a directory -curl -L https://github.com/alphagov/govuk-frontend/archive/v4.7.0.zip > govuk_frontend_source.zip -unzip -o govuk_frontend_source.zip -d govuk_frontend_source -mkdir govuk_components -mv govuk_frontend_source/govuk-frontend-4.7.0/package/govuk/components/** govuk_components - -# Remove all files apart from test fixtures json -find govuk_components -type f ! -name 'fixtures.json' -delete - -# Tidy up -rm -rf govuk_frontend_source -rm -rf govuk_frontend_source.zip