Skip to content

Commit 4e2d725

Browse files
committed
Added some cleanup after running bower installs.
- Legacy-Id: 12883
1 parent 876d4c9 commit 4e2d725

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bin/mkrelease

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ DEV="$(printf %d.%d.%d.dev0 $MAJOR $MINOR $NEXT)"
173173
note "Updating bower assets ..."
174174
$do ietf/manage.py bower_install
175175
$do svn commit ietf/externals/static -m "Updated bower-managed static web assets"
176+
# Get rid of bower-installed files which we don't use:
177+
$do rm $(svn st ietf/externals/ | grep '^\?' | awk '{print $2}')
178+
$do rm -rf rm -rf ietf/externals/static/datatracker/
176179

177180
note "Collecting static files ..."
178181
$do ietf/manage.py collectstatic --noinput --ignore=bower.json --ignore='README.*' | grep -v "Found another file with the destination path"

0 commit comments

Comments
 (0)