update collect assets name
This commit is contained in:
1 parent
4ee2bc259d
commit
5eca11fe3d
7 files changed
+13
-13
No files matched your search
@@ -3,9 +3,9 @@ use crate::{
|
||||
error::{Error, Result},
|
||||
tools::Tool,
|
||||
};
|
||||
use assets_cli_support::AssetManifestExt;
|
||||
use cargo_metadata::{diagnostic::Diagnostic, Message};
|
||||
use indicatif::{ProgressBar, ProgressStyle};
|
||||
use manganis_cli_support::AssetManifestExt;
|
||||
use serde::Serialize;
|
||||
use std::{
|
||||
fs::{copy, create_dir_all, File},
|
||||
@@ -769,7 +769,7 @@ pub(crate) struct WebAssetConfigDropGuard;
|
||||
impl WebAssetConfigDropGuard {
|
||||
pub fn new() -> Self {
|
||||
// Set up the collect asset config
|
||||
assets_cli_support::Config::default()
|
||||
manganis_cli_support::Config::default()
|
||||
.with_assets_serve_location("/")
|
||||
.save();
|
||||
Self {}
|
||||
@@ -779,6 +779,6 @@ impl WebAssetConfigDropGuard {
|
||||
impl Drop for WebAssetConfigDropGuard {
|
||||
fn drop(&mut self) {
|
||||
// Reset the config
|
||||
assets_cli_support::Config::default().save();
|
||||
manganis_cli_support::Config::default().save();
|
||||
}
|
||||
}
|
||||
@@ -130,7 +130,7 @@ impl Bundle {
|
||||
|
||||
// Add all assets from collect assets to the bundle
|
||||
{
|
||||
let config = assets_cli_support::Config::current();
|
||||
let config = manganis_cli_support::Config::current();
|
||||
let location = config.assets_serve_location().to_string();
|
||||
let location = format!("./{}", location);
|
||||
println!("Adding assets from {} to bundle", location);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::{cfg::Platform, error::Result};
|
||||
use assets_cli_support::AssetManifest;
|
||||
use assets_cli_support::AssetManifestExt;
|
||||
use manganis_cli_support::AssetManifest;
|
||||
use manganis_cli_support::AssetManifestExt;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
|
||||
Reference in new issue
Block a user