Skip to content

Commit

Permalink
chore: Submodule workspace (#888)
Browse files Browse the repository at this point in the history
* chore: template as submodule


---------

Co-authored-by: Colin Roberts <[email protected]>
  • Loading branch information
0xJepsen and Autoparallel authored Feb 15, 2024
1 parent 5c51063 commit fe6b556
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 597 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
with:
toolchain: nightly
components: rustfmt

- name: git submodule update
run: git submodule update --init --recursive
- name: cargo fmt
run: cargo +nightly fmt --all -- --check

Expand All @@ -35,7 +36,8 @@ jobs:
with:
toolchain: stable
components: clippy

- name: git submodule update
run: git submodule update --init --recursive
- name: cargo clippy
run: cargo clippy --workspace --all-features -- -D warnings

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
toolchain: 1.75.0
override: true

- name: git submodule update
run: git submodule update --init --recursive
- name: test
run: cargo test --workspace --all-features --exclude documentation
129 changes: 106 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ name = "arbiter"
path = "bin/main.rs"

[[example]]
name = "project"
path = "examples/project/main.rs"
name = "template"
path = "examples/arbiter-template/src/main.rs"

[workspace.dependencies]
# Local
arbiter-bindings = { path = "arbiter-bindings" }
arbiter-core = { path = "arbiter-core" }
arbiter-engine = { path = "arbiter-engine" }
arbiter-macros = { path = "arbiter-macros" }
arbiter-bindings = "0.1.4"
arbiter-core = "0.10.1"
arbiter-engine = "0.2.0"
arbiter-macros = "0.1.1"

revm = { version = "5.0.0", features = ["ethersdb", "std", "serde"] }
revm-primitives = "=2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/arbiter-template
55 changes: 0 additions & 55 deletions examples/project/behaviors/incrementer.rs

This file was deleted.

12 changes: 0 additions & 12 deletions examples/project/behaviors/mod.rs

This file was deleted.

1 change: 0 additions & 1 deletion examples/project/bindings/mod.rs

This file was deleted.

Loading

0 comments on commit fe6b556

Please sign in to comment.