trunk-rs/trunk

Delay asset pipeline until rust build finished

開放

#701 建立於 2024年2月3日

 (4 則留言) (2 個反應) (0 位負責人)Rust (315 個分叉)auto 404
enhancementhelp wantedneeds design

倉庫指標

星標
 (4,347 顆星)
PR 合併指標
 (平均合併 5天 21小時) (30 天內合併 4 個 PR)

描述

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?

貢獻者指南