Skip to content

Commit

Permalink
Move examples dependencies to dev-dependencies (#12)
Browse files Browse the repository at this point in the history
* Move examples dependencies to dev-dependencies

We don't need to include this in the final binary.

* Specify --all-targets for cargo check / clippy
  • Loading branch information
jgayfer authored Jun 16, 2024
1 parent aee087c commit 7af8475
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-targets

fmt:
name: fmt
Expand Down Expand Up @@ -49,4 +50,4 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
args: --all-targets -- -D warnings
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ readme = "README.md"
exclude = ["assets/*", "static/*"]

[dependencies]
bevy = { version = "0.13", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit"
] }

[dev-dependencies]
bevy = { version = "0.13", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
Expand Down

0 comments on commit 7af8475

Please sign in to comment.