generated from tipragot/rust
Réglage du problème du mauvais nom de projet #4
|
@ -7,16 +7,16 @@ pub use dioxus_fullstack::prelude::*;
|
|||
#[cfg(all(not(target_arch = "wasm32"), debug_assertions))]
|
||||
/// Compile le site en webassembly et génaire le fichier de style avec tailwind.
|
||||
fn build_app() {
|
||||
use std::fs;
|
||||
use std::io::{BufRead, BufReader};
|
||||
use std::path::{Path, PathBuf};
|
||||
use std::{env, fs};
|
||||
|
||||
use dioxus_cli::{CrateConfig, ExecutableType};
|
||||
use railwind::{CollectionOptions, SourceOptions};
|
||||
use regex::Regex;
|
||||
use walkdir::WalkDir;
|
||||
|
||||
let project_folder = Path::new(env!("CARGO_MANIFEST_DIR"));
|
||||
let project_folder = env::current_dir().expect("unable to get current directory");
|
||||
let output_folder = project_folder.join("web");
|
||||
|
||||
// Get the project name
|
||||
|
|
Loading…
Reference in a new issue