iomentum / cargo-scaffold

cargo scaffold lets you scaffold and generate projects described in a simple TOML file
MIT License
57 stars 12 forks source link

Windows Support? #49

Closed k86td closed 10 months ago

k86td commented 10 months ago

Might be a me issue. Just wanted to try this tool out for aoc. I run both Linux and Windows. Didn't try on Linux yet, but on Windows it spits errors about .scaffold.toml not being found and whatnot:

# in template directory
❯ cargo scaffold
Error: cannot open .scaffold.toml in scaffold

Caused by:
    The system cannot find the path specified. (os error 3)
❯ cargo scaffold .\template\
error: unexpected argument '.\template\' found

Usage: cargo-scaffold.exe [OPTIONS] <template>

For more information, try '--help'.

Thanks.

k86td commented 10 months ago

Yup, its a mybad. For some reason my rust installation is both installed on Cygwin and my Win user, so pathing was behaving weirdly.