stylesheet icon indicating copy to clipboard operation
stylesheet copied to clipboard

Meson: rebuild without requiring ninja clean

Open danirabbit opened this issue 3 years ago • 4 comments

What Happened?

The stylesheet doesn't get properly rebuilt if you build with just ninja and not ninja clean.

Steps to Reproduce

  1. Build with ninja
  2. Make changes and build again with ninja
  3. Test and see that changes weren't built

Expected Behavior

The build system should be set up such that it produces new builds reflecting the latest source code changes when building with ninja and not requiring ninja clean

OS Version

7.x (Early Access)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

danirabbit avatar Apr 25 '22 16:04 danirabbit

Meson only knows about the primary input file, which just loads other files. In order to do proper incremental updates, you will need depfile support (the same minimal, Make-compatible output: input1 input2 input3 format emitted by GCC's -MD flag); it seems sassc is in deep maintenance mode so it's not clear that such support will ever land upstream.

(No, dart-sass doesn't support this either.)

eli-schwartz avatar Apr 26 '22 01:04 eli-schwartz

Hmm, turns out there is indeed a PR sort of like this (my original google-fu didn't find it due to it not having the right keywords).

https://github.com/sass/sassc/pull/228

eli-schwartz avatar Apr 29 '22 22:04 eli-schwartz

When I build the theme in a VM the changes do take effect

BAProductions avatar Feb 11 '23 19:02 BAProductions

Mabe eOS could add Compiling support to the code app

BAProductions avatar Feb 11 '23 19:02 BAProductions