mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
Make dioxus-cli a binary - not a library (#2698)
This commit is contained in:
parent
942e701f02
commit
a6e41e9d68
2 changed files with 25 additions and 25 deletions
|
@ -1,24 +0,0 @@
|
||||||
#![doc = include_str!("../README.md")]
|
|
||||||
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
||||||
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
||||||
|
|
||||||
pub mod assets;
|
|
||||||
pub mod dx_build_info;
|
|
||||||
pub mod serve;
|
|
||||||
pub mod tools;
|
|
||||||
|
|
||||||
pub mod cli;
|
|
||||||
pub use cli::*;
|
|
||||||
|
|
||||||
pub mod error;
|
|
||||||
pub use error::*;
|
|
||||||
|
|
||||||
pub(crate) mod builder;
|
|
||||||
|
|
||||||
mod dioxus_crate;
|
|
||||||
pub use dioxus_crate::*;
|
|
||||||
|
|
||||||
mod settings;
|
|
||||||
pub(crate) use settings::*;
|
|
||||||
|
|
||||||
pub(crate) mod metadata;
|
|
|
@ -1,9 +1,33 @@
|
||||||
|
#![doc = include_str!("../README.md")]
|
||||||
|
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
|
||||||
|
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
|
||||||
|
|
||||||
|
pub mod assets;
|
||||||
|
pub mod dx_build_info;
|
||||||
|
pub mod serve;
|
||||||
|
pub mod tools;
|
||||||
|
|
||||||
|
pub mod cli;
|
||||||
|
pub use cli::*;
|
||||||
|
|
||||||
|
pub mod error;
|
||||||
|
pub use error::*;
|
||||||
|
|
||||||
|
pub(crate) mod builder;
|
||||||
|
|
||||||
|
mod dioxus_crate;
|
||||||
|
pub use dioxus_crate::*;
|
||||||
|
|
||||||
|
mod settings;
|
||||||
|
pub(crate) use settings::*;
|
||||||
|
|
||||||
|
pub(crate) mod metadata;
|
||||||
|
|
||||||
use std::env;
|
use std::env;
|
||||||
use tracing_subscriber::{prelude::*, EnvFilter, Layer};
|
use tracing_subscriber::{prelude::*, EnvFilter, Layer};
|
||||||
|
|
||||||
use anyhow::Context;
|
use anyhow::Context;
|
||||||
use clap::Parser;
|
use clap::Parser;
|
||||||
use dioxus_cli::*;
|
|
||||||
|
|
||||||
use Commands::*;
|
use Commands::*;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue