aboutsummaryrefslogtreecommitdiff
path: root/unit-test.sh
diff options
context:
space:
mode:
authorKelley Spoon <kelley.spoon@linaro.org>2021-12-18 00:09:39 -0600
committerKelley Spoon <kelley.spoon@linaro.org>2021-12-18 06:43:13 +0000
commitc8a9999bf69d3dc00194e448c4273bf8033648c8 (patch)
tree8ebc5713abb491cbe1edcd047724d9cfb0fab66e /unit-test.sh
parent35e8476b3bb1cf1ca4e8d690ba6ae63d530c848d (diff)
staticfiles: rename root static dir and add missing files
By adding 'static' to the gitignore file, the pattern match was also applied to 'license-protected-downloads/static' and the missing admin, jquery, and css files were left out of the repo. Let's rename the top level directory where the collected files are to be put to 'staticroot' so that it can safely be added to the gitignore file and restore the missing files. Change-Id: Ie051df5c26ab83df96af5a8453648b0db9f3cbcd Reviewed-on: https://review.linaro.org/c/infrastructure/linaro-license-protection/+/40226 Reviewed-by: Kelley Spoon <kelley.spoon@linaro.org>
Diffstat (limited to 'unit-test.sh')
-rwxr-xr-xunit-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-test.sh b/unit-test.sh
index da7073e..dbc3c5c 100755
--- a/unit-test.sh
+++ b/unit-test.sh
@@ -18,7 +18,7 @@ if [ -z $VIRTUAL_ENV ] ; then
pip install -r requirements.txt
fi
-rm -rf static/*
+rm -rf staticroot/*
DJANGO_SETTINGS_MODULE=settings SKIP_LINT=$SKIP_LINT ./manage.py collectstatic --no-input
DJANGO_SETTINGS_MODULE=settings SKIP_LINT=$SKIP_LINT ./manage.py test license_protected_downloads