Hi,
I'd like to share a trick.
When generating compiled CSS files, no way to check the git diff since
all is on one line.
I've managed to find a trick :
git show --word-diff shows chucks deleted/added so with some regexp :
git show --word-diff $SHA1 | egrep '(\[\-)|(\{\+)' | sed -r
's/^.*(
Hi Frido,
This nice trick made me wonder if git could beautify the css before
making the diff... and of course it does!
https://scripter.co/git-diff-minified-js-and-css/
It requires installing a node package and modifying some git files, but
it works really well
Le 29/04/2021 à 17:19, Frid
Thanks! Great tricks.
Added to the wiki:
https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface#Reviewing_changes_of_the_compiled_CSS_file
--
Victor Grousset/tuxayo
___
Koha-devel mailing list
Koha-devel@lists.koha-com