trunk-rs/trunk

Delay asset pipeline until rust build finished

Aperta

#701 aperta il 3 feb 2024

 (4 commenti) (2 reazioni) (0 assegnatari)Rust (315 fork)auto 404
enhancementhelp wantedneeds design

Metriche repository

Star
 (4347 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

My use case includes copying SCSS files through a libraries build.rs file into my application root directory.

Building the styles (SASS) will only work with the output from this build script.

But the asset pipeline always runs in parallel / can not be configured to run after a finished rust build. Errors in the SASS pipeline lead to a retry, also skipping/aborting the rust build, leading to no build.rs being executed an and endless retry-loop.

Could such an optional behavior be integrated into trunk?

Guida contributor