Skip to content

Commit

Permalink
Remove demo specific lines from build.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyhashemi committed Oct 27, 2023
1 parent f869b0d commit e9d3382
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e9d3382

Please sign in to comment.