Skip to content

Commit

Permalink
Fix release.yaml and tasks.json
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Jul 5, 2024
1 parent cb0dde3 commit f808ae1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build
run: |
cargo build --release --target wasm32-unknown-unknown --no-default-features --features=web
cargo build --release --target wasm32-unknown-unknown --no-default-features
- name: Prepare package
run: |
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Build
run: |
cargo build --release --target x86_64-unknown-linux-gnu --no-default-features --features=native,bevy/wayland
cargo build --release --target x86_64-unknown-linux-gnu --no-default-features --features=bevy/wayland
- name: Prepare package
run: |
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:

- name: Build
run: |
cargo build --release --target x86_64-pc-windows-msvc --no-default-features --features=native
cargo build --release --target x86_64-pc-windows-msvc --no-default-features
- name: Prepare package
run: |
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
- name: Build
run: |
cargo build --release --target x86_64-apple-darwin --no-default-features --features=native
cargo build --release --target x86_64-apple-darwin --no-default-features
- name: Prepare Package
run: |
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
- name: Build
run: |
cargo build --release --target aarch64-apple-darwin --no-default-features --features=native
cargo build --release --target aarch64-apple-darwin --no-default-features
- name: Prepare Package
run: |
Expand Down
3 changes: 1 addition & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
"command": "run",
"args": [
"--release",
"--no-default-features",
"--features=native"
"--no-default-features"
],
"presentation": {
"clear": true
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ wasm-bindgen = "0.2"
[features]
default = [
# Default to a native dev build.
"native_dev",
"dev_native",
]
dev = [
# Improve compile times for dev builds.
# NOTE: Uncomment to enable dynamic linking, but this may not work on Windows.
#"bevy/dynamic_linking",
]
native_dev = [
dev_native = [
"dev",
# Enable asset hot reloading for native dev builds.
"bevy/file_watcher",
Expand Down

0 comments on commit f808ae1

Please sign in to comment.