template-axum-htmx-tailwind icon indicating copy to clipboard operation
template-axum-htmx-tailwind copied to clipboard

build.rs copy from public to build which should be the other way around

Open AlexandreRoba opened this issue 9 months ago • 1 comments

Hi, great project! Teach me a lot of think. Thanks. I believe there is an error on the copy function. It copy from public to build and should be the other way around I guess. I can make a pull request if I'm right :p

I replaced the all copy function on build.rs with this:

    Command::new("cp")
        .args(["-a", "./build/.", "./public/"])
        .status()
        .expect("failed to copy folder");

AlexandreRoba avatar Nov 05 '23 09:11 AlexandreRoba