[Koha-bugs] [Bug 32609] Remove compiled files from src

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 24 17:11:17 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32609

--- Comment #15 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to David Cook from comment #12)
> If we create a Perl script to run these commands, we can include it in
> Makefile.PL, plus manually call it for "ktd" and sandboxes, so... that
> should be pretty straightforward overall.

Actually it's not obvious at all for me how this can be done easily.

There are dev paths in gulpfile...

We could rely no an env var (or an option?) that would pass the path.

Like:
  css_path=/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/css/ yarn
css:build:prod

I've done this already.
For the js/vue dist file, it's a bit more tricky (node path, relative js path,
modules, etc.)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list