-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# dojo-beta | ||
|
||
Dojo is a toolchain for developing onchain games on Starknet. It implements an Entity Component System and | ||
|
||
## Getting Started | ||
### Prerequisites | ||
- Install [Rust](https://www.rust-lang.org/tools/install) | ||
- Setup Rust: | ||
``` | ||
rustup override set stable && rustup update && cargo test | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# cairo-lang-dojo | ||
|
||
Cairo language plugin for compiling the Dojo Entity Component System to Starknet contracts. | ||
|
||
## Testing | ||
|
||
Expected test outputs are defined in `crates/cairo-lang-dojo/src/plugin_test_data/component`. | ||
|
||
To run the tests, run: | ||
|
||
``` | ||
cargo test --package cairo-lang-dojo --lib -- plugin::test::expand_contract::component --exact --nocapture | ||
``` | ||
|
||
To regenerate, set `CAIRO_FIX_TESTS=1`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters