Skip to content

Commit

Permalink
chore: move nightly code to its own branch
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeForceZero committed Jan 21, 2025
1 parent 1176b1d commit 54bce92
Show file tree
Hide file tree
Showing 28 changed files with 4 additions and 611 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
toolchain: [stable, nightly]
feature-set: [default, missing_auto_plugin_is_compile_error]
feature-set: [default]
steps:
# Checkout the repository
- name: Checkout code
Expand All @@ -36,7 +36,6 @@ jobs:

# Run tests with the specified feature set
- name: Run tests
if: ${{ matrix.toolchain == 'nightly' || matrix.feature-set == 'default' }}
run: |
echo "Testing with ${{ matrix.toolchain }} and features: ${{ matrix.toolchain }},${{ matrix.feature-set }}"
cargo test --features "${{ matrix.toolchain }},${{ matrix.feature-set }}"
12 changes: 2 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,14 @@ edition = "2021"
[features]
default = []
stable = []
nightly = ["nightly_proc_macros"]
missing_auto_plugin_is_compile_error = ["nightly", "nightly_proc_macros/missing_auto_plugin_is_compile_error"]
missing_auto_plugin_is_error = ["nightly", "nightly_proc_macros/missing_auto_plugin_is_error"]
missing_auto_plugin_is_warning = ["nightly", "nightly_proc_macros/missing_auto_plugin_is_warning"]
nightly = []

[workspace]
members = ["crates/*"]

[workspace.dependencies]
shared = { path = "crates/shared" }
nightly_shared = { path = "crates/nightly_shared" }
proc_macros = { path = "crates/proc_macros" }
nightly_proc_macros = { path = "crates/nightly_proc_macros" }
bevy_app = { version = "0.15", default-features = false }
bevy_reflect = { version = "0.15" }
bevy_internal = { version = "0.15" }
Expand All @@ -28,15 +23,12 @@ proc-macro2 = "1"
syn = { version = "2", features = ["full"] }
quote = "1"
thiserror = "2"
log = "0.4"

[dependencies]
proc_macros = { workspace = true }
nightly_proc_macros = { workspace = true, optional = true }

[dev-dependencies]
bevy_app = { workspace = true, default-features = false }
bevy_reflect = { workspace = true }
bevy_ecs = { workspace = true }
internal_test_util = { path = "crates/internal_test_util" }
trybuild = "1.0"
internal_test_util = { path = "crates/internal_test_util" }
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ mod plugin_module {
### Known Limitations
- Causes issues for ide's like RustRover

## Usage - Nightly
## Usage - [Nightly](https://github.com/StrikeForceZero/bevy_auto_plugin_macros/tree/nightly)
```rust
use bevy::prelude::*;
use bevy_auto_plugin_macros::*;
Expand Down
22 changes: 0 additions & 22 deletions crates/nightly_proc_macros/Cargo.toml

This file was deleted.

2 changes: 0 additions & 2 deletions crates/nightly_proc_macros/rust-toolchain.toml

This file was deleted.

159 changes: 0 additions & 159 deletions crates/nightly_proc_macros/src/lib.rs

This file was deleted.

21 changes: 0 additions & 21 deletions crates/nightly_shared/Cargo.toml

This file was deleted.

2 changes: 0 additions & 2 deletions crates/nightly_shared/rust-toolchain.toml

This file was deleted.

117 changes: 0 additions & 117 deletions crates/nightly_shared/src/lib.rs

This file was deleted.

Loading

0 comments on commit 54bce92

Please sign in to comment.