sqS
Some checks failed
Rust Checks / checks (push) Failing after 20s

This commit is contained in:
Tipragot 2024-02-03 14:17:26 +01:00
parent 3c40fc3d81
commit 55baadf979

View file

@ -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