View | Details | Raw Unified | Return to bug 32609
Collapse All | Expand All

(-)a/Makefile.PL (+3 lines)
Lines 675-680 my $pl_files = { Link Here
675
	  'fix-perl-path.PL' => [	# this script ensures the correct shebang line for the platform installed on...
675
	  'fix-perl-path.PL' => [	# this script ensures the correct shebang line for the platform installed on...
676
		 'blib'
676
		 'blib'
677
		 ],
677
		 ],
678
      'build-resources.PL' => [
679
          'blib'
680
         ],
678
};
681
};
679
682
680
push @{ $pl_files->{'rewrite-config.PL'} }, (
683
push @{ $pl_files->{'rewrite-config.PL'} }, (
(-)a/build-resources.PL (-1 / +38 lines)
Line 0 Link Here
0
- 
1
#!/usr/bin/perl
2
# This file is part of Koha.
3
#
4
# Koha is free software; you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 3 of the License, or
7
# (at your option) any later version.
8
#
9
# Koha is distributed in the hope that it will be useful, but
10
# WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with Koha; if not, see <http://www.gnu.org/licenses>.
16
#
17
18
use Modern::Perl;
19
use ExtUtils::MakeMaker::Config;
20
21
=head1 NAME
22
23
build-resources.PL - helper for the Koha packager and installer
24
25
=head1 SYNOPSIS
26
27
    perl build-resources.PL
28
29
=head1 DESCRIPTION
30
31
This helper script ensures that src JS and SCSS files are compiled for packaging.
32
33
=cut
34
35
my $command = "yarn build:prod";
36
system($command);
37
38
1;

Return to bug 32609