xenoterracide / brix

Brix is a CLI tool written in Rust for scaffolding and code generation.
https://crates.io/crates/brix
MIT License
5 stars 0 forks source link

copy error #35

Closed xenoterracide closed 1 year ago

xenoterracide commented 1 year ago
❯ brix java multilib ai-wh40k app
CONFIG /home/xeno/.config/brix/java/multilib.yml
RUNNING copy (1/1)
Error running copy command in '/home/xeno/.config/brix/java/multilib.yml'
commands:
- copy:
    source: project/copy/shared
    destination: .
    overwrite: true
RUNNING copy (1/1)
2023-08-09T20:09:10.799Z DEBUG [brix_commands::command] creating directory ''
2023-08-09T20:09:10.799Z INFO [brix_commands::command] writing: '.'
2023-08-09T20:09:10.799Z DEBUG [brix_commands::command::copy] copying '/home/xeno/.config/brix/java/project/copy/shared' to '/home/xeno/IdeaProjects/ai-wh40k/.'
Error running copy command in '/home/xeno/.config/brix/java/multilib.yml'
2023-08-09T20:09:10.799Z ERROR [brix] IO error: the source path is neither a regular file nor a symlink to a regular file

Well... that's true; It's a directory, which should work.

❯ ls /home/xeno/.config/brix/java/project/copy/shared
build.gradle.kts  checkstyle  gradle.properties  gradlew.bat
buildSrc          gradle      gradlew