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 合并指标
 (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?

贡献者指南