Added some cleanup after running bower installs.

- Legacy-Id: 12883
This commit is contained in:
Henrik Levkowetz 2017-02-20 11:28:02 +00:00
parent 876d4c93a4
commit 4e2d7252a6

View file

@ -173,6 +173,9 @@ DEV="$(printf %d.%d.%d.dev0 $MAJOR $MINOR $NEXT)"
note "Updating bower assets ..."
$do ietf/manage.py bower_install
$do svn commit ietf/externals/static -m "Updated bower-managed static web assets"
# Get rid of bower-installed files which we don't use:
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}')
$do rm -rf rm -rf ietf/externals/static/datatracker/
note "Collecting static files ..."
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"