Fix determining artifact folder for dev profile#219
Conversation
DaAlbrecht
left a comment
There was a problem hiding this comment.
Nice work! bevy build runs for my test project successfully too.
|
Clippy: We could also unwrap this else block: https://github.com/TheBevyFlock/bevy_cli/blob/main/src/run/mod.rs#L191 |
BD103
left a comment
There was a problem hiding this comment.
Works locally! Merge this when you're ready :)
What do you mean by unwrap here? |
In the |
Ah right, because |
Objective
Closes #218.
For some reason, the profile
devhas a target folder nameddebuginstead ofdev.This caused a compile error on native dev builds.
Solution
devprofileTesting
Run
bevy buildon a Bevy project, using this branch for the Bevy CLI.It shouldn't fail with an error.
Future work
We should probably set up some more tests for the CLI, testing all the build and run commands and potentially different targets and profiles.
But that would require non-trivial setup work, so I will defer it for a future task.