feat: add cli support to build assets from executable (#3429)

* feat: add cli support to build assets from executable

See https://github.com/DioxusLabs/dioxus/discussions/3402#discussioncomment-11632372

* fix: store relative paths in executable

* bring back deprecation warning

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Brian MayandJonathan Kelley authored and GitHub committed 2025-04-15 14:51:04 -07:00
1 parent 2c5de0a713
commit 5109a4b745
4 files changed
+48 -1

No files matched your search

+1
View File
@@ -57,6 +57,7 @@ async fn main() {
Commands::Serve(opts) => opts.serve().await,
Commands::Bundle(opts) => opts.bundle().await,
Commands::Run(opts) => opts.run().await,
Commands::BuildAssets(opts) => opts.run().await,
};
// Provide a structured output for third party tools that can consume the output of the CLI