mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
put mini-dashboard in out-dir
This commit is contained in:
parent
1f32f35d9e
commit
5014f74649
2 changed files with 3 additions and 4 deletions
|
@ -28,9 +28,10 @@ mod mini_dashboard {
|
|||
pub fn setup_mini_dashboard() -> anyhow::Result<()> {
|
||||
let cargo_manifest_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
|
||||
let cargo_toml = cargo_manifest_dir.join("Cargo.toml");
|
||||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||
|
||||
let sha1_path = cargo_manifest_dir.join(".mini-dashboard.sha1");
|
||||
let dashboard_dir = cargo_manifest_dir.join("mini-dashboard");
|
||||
let sha1_path = out_dir.join(".mini-dashboard.sha1");
|
||||
let dashboard_dir = out_dir.join("mini-dashboard");
|
||||
|
||||
let manifest = Manifest::from_path(cargo_toml).unwrap();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue