Skip to content

Commit a954b4d

Browse files
committed
build!: Move workspace, add bevy submod
1 parent 5fd6f6b commit a954b4d

File tree

131 files changed

+11
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+11
-7
lines changed

.config/mise.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ alias = "deny"
3030
tools = { "cargo:cargo-deny" = "latest" }
3131
description = "Check dependencies with cargo-deny"
3232
run = """
33-
cargo deny --workspace \
33+
cargo deny --workspace --manifest-path=./workspace/Cargo.toml \
3434
-L error \
3535
check advisories bans sources \
3636
--hide-inclusion-graph
@@ -47,7 +47,7 @@ run = """
4747
#!/bin/bash
4848
RUSTC_WRAPPER=""
4949
if [[ $usage_pkg != "''" ]]; then PKG="-p $usage_pkg"; fi
50-
bevy_lint --all-features --target-dir=target/bevy_lint $FIX
50+
bevy_lint --manifest-path=./workspace/Cargo.toml --all-features --target-dir=target/bevy_lint $FIX
5151
"""
5252

5353
[tasks.clippy]
@@ -59,7 +59,7 @@ usage = """
5959
run = """
6060
FIX=${usage_fix:+--fix}
6161
if [[ $usage_pkg != "''" ]]; then PKG="-p $usage_pkg"; fi
62-
cargo --color=always clippy --all-features --target-dir=target/clippy $FIX $PKG
62+
cargo --color=always clippy --manifest-path=./workspace/Cargo.toml --all-features --target-dir=target/clippy $FIX $PKG
6363
"""
6464

6565
[tasks.check]
@@ -112,7 +112,7 @@ usage = """
112112
arg "[rest]" default="r --workspace" help="Passed directly to `cargo nextest`"
113113
"""
114114
run = """
115-
cargo nextest ${usage_rest}
115+
cargo nextest --manifest-path=./workspace/Cargo.toml ${usage_rest}
116116
"""
117117

118118
[tasks.coverage]
@@ -122,7 +122,7 @@ usage = """
122122
arg "[rest]" default="--html --open"
123123
"""
124124
run = """
125-
RUSTFLAGS=-Zcodegen-backend=llvm cargo llvm-cov nextest --html --open
125+
RUSTFLAGS=-Zcodegen-backend=llvm cargo llvm-cov nextest --html --open --manifest-path=./workspace/Cargo.toml
126126
"""
127127

128128
# LOCAL #######################################################################
@@ -134,7 +134,7 @@ usage = """
134134
arg "[args]" help="Args passed to cargo build. Run `cargo build --help` for more info." var=#true
135135
"""
136136
run = """
137-
cargo build ${usage_args}
137+
cargo build --manifest-path=./workspace/Cargo.toml ${usage_args}
138138
"""
139139

140140
[tasks.play]
@@ -144,5 +144,5 @@ usage = """
144144
arg "[args]" help="Args passed to cargo run. Run `cargo run --help` for more info." var=#true
145145
"""
146146
run = """
147-
cargo run ${usage_args}
147+
cargo run --manifest-path=./workspace/Cargo.toml ${usage_args}
148148
"""

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "submod/bevy"]
2+
path = submod/bevy
3+
url = https://github.com/bevyengine/bevy

submod/bevy

Submodule bevy added at b8153cb
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)