Lines 53-58
my $exceptions = {
Link Here
|
53 |
misc/cronjobs/build_browser_and_cloud.pl |
53 |
misc/cronjobs/build_browser_and_cloud.pl |
54 |
) |
54 |
) |
55 |
], |
55 |
], |
|
|
56 |
all => [], |
56 |
}, |
57 |
}, |
57 |
js => { |
58 |
js => { |
58 |
tidy => [ |
59 |
tidy => [ |
Lines 71-76
my $exceptions = {
Link Here
|
71 |
koha-tmpl/opac-tmpl/bootstrap/js/Gettext.js |
72 |
koha-tmpl/opac-tmpl/bootstrap/js/Gettext.js |
72 |
) |
73 |
) |
73 |
], |
74 |
], |
|
|
75 |
all => [ |
76 |
qw( |
77 |
koha-tmpl/intranet-tmpl/lib |
78 |
koha-tmpl/opac-tmpl/lib |
79 |
) |
80 |
], |
74 |
}, |
81 |
}, |
75 |
tt => { |
82 |
tt => { |
76 |
tidy => [ |
83 |
tidy => [ |
Lines 81-87
my $exceptions = {
Link Here
|
81 |
) |
88 |
) |
82 |
], |
89 |
], |
83 |
codespell => [], |
90 |
codespell => [], |
|
|
91 |
all => [], |
92 |
}, |
93 |
yml => { |
94 |
all => [], |
95 |
}, |
96 |
css => { |
97 |
all => [ |
98 |
qw( |
99 |
koha-tmpl/intranet-tmpl/lib |
100 |
koha-tmpl/opac-tmpl/lib |
101 |
) |
102 |
], |
84 |
}, |
103 |
}, |
|
|
104 |
|
85 |
}; |
105 |
}; |
86 |
|
106 |
|
87 |
=head1 METHODS |
107 |
=head1 METHODS |
Lines 167-172
sub ls_tt_files {
Link Here
|
167 |
return @files; |
187 |
return @files; |
168 |
} |
188 |
} |
169 |
|
189 |
|
|
|
190 |
=head2 ls_yml_files |
191 |
|
192 |
my @yml_files = $file_manager->ls_yml_files(); |
193 |
|
194 |
Lists YAML files (with extensions .yml, .yaml) in the repository, excluding those specified in the exceptions. |
195 |
|
196 |
=cut |
197 |
|
198 |
sub ls_yml_files { |
199 |
my ($self) = @_; |
200 |
my $cmd = sprintf q{git ls-files '*.yml' '*.yaml' %s}, $self->build_git_exclude('yml'); |
201 |
my @files = qx{$cmd}; |
202 |
chomp for @files; |
203 |
return @files; |
204 |
} |
205 |
|
206 |
=head2 ls_css_files |
207 |
|
208 |
my @css_files = $file_manager->ls_css_files(); |
209 |
|
210 |
Lists CSS files (with extensions .css) in the repository, excluding those specified in the exceptions. |
211 |
|
212 |
=cut |
213 |
|
214 |
sub ls_css_files { |
215 |
my ($self) = @_; |
216 |
my $cmd = sprintf q{git ls-files '*.css' %s}, $self->build_git_exclude('css'); |
217 |
my @files = qx{$cmd}; |
218 |
chomp for @files; |
219 |
return @files; |
220 |
} |
221 |
|
170 |
=head2 get_filetype |
222 |
=head2 get_filetype |
171 |
|
223 |
|
172 |
my $filetype = $file_manager->get_filetype($filename); |
224 |
my $filetype = $file_manager->get_filetype($filename); |