summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-06-23 20:34:55 +0200
committerGitHub <noreply@github.com>2017-06-23 20:34:55 +0200
commit8630521c3151c652143673b80fb7f1cc501687a7 (patch)
tree47bf47da68d4a519884c91e0cd0f808b899ee2b1 /checksetup.pl
parentdf042aa77951fa69ea59c1ced9feded43ba3ae6c (diff)
downloadbugzilla-8630521c3151c652143673b80fb7f1cc501687a7.tar.gz
bugzilla-8630521c3151c652143673b80fb7f1cc501687a7.tar.xz
Bug 1361890 - Fix problems with current js and css concatenation
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 598432c93..d689602fd 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -52,6 +52,7 @@ GetOptions(\%switch, 'help|h|?',
'no-templates|t', 'verbose|v|no-silent',
'cpanm:s', 'check-modules',
'make-admin=s', 'reset-password=s', 'version|V',
+ 'no-assets',
'no-permissions|p');
# Print the help message if that switch was selected.
@@ -190,6 +191,11 @@ my %old_params = update_params();
Bugzilla::Template::precompile_templates(!$silent)
unless $switch{'no-templates'};
+unless ($switch{'no-assets'}) {
+ say "Compiling assets..." unless $silent;
+ Bugzilla->asset_manager->compile_all;
+}
+
###########################################################################
# Set proper rights (--CHMOD--)
###########################################################################