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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 16 01:02:00 CET 2023


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

--- Comment #12 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #0)
> We need to improve our yarn build commands to generate css and js compiled
> files.
> 
> Then remove them from our codebase, and generate them when needed:
> 
> - when generating the debian packages
> - when ktd is starting up
> - when patches are applied on the sandbox

I suppose "ktd" startup time makes sense. On one hand, I might like to generate
the files 1 time, and re-use them over days/weeks/months, but... having a fresh
build on each startup is probably wise. 

When I switch version branches, I'll destroy my container and rebuild it, so
this would work well with that workflow. 

And if you change branches that have the same version but changes to css and
js... you just need to re-compile anyway. 

So yeah that sounds good to me. 

--

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.

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


More information about the Koha-bugs mailing list