https://github.com/software-mansion-labs/cairo-toolchain-xtasks
Build scripts shared between all Cairo Toolchain projects of ours.
https://github.com/software-mansion-labs/cairo-toolchain-xtasks
Last synced: about 2 months ago
JSON representation
Build scripts shared between all Cairo Toolchain projects of ours.
- Host: GitHub
- URL: https://github.com/software-mansion-labs/cairo-toolchain-xtasks
- Owner: software-mansion-labs
- License: mit
- Created: 2024-12-11T09:04:05.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-02T06:31:58.000Z (2 months ago)
- Last Synced: 2025-04-11T02:13:38.900Z (about 2 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/cairo-toolchain-xtasks
- Size: 35.2 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# cairo-toolchain-xtasks
Build scripts that are shared between all Cairo Toolchain projects of Software Mansion.
## Usage
We release this crate to [crates.io](https://crates.io/crates/cairo-toolchain-xtasks).
Put this crate as a dependency in your `xtask/Cargo.toml`:```toml
[dependencies]
cairo-toolchain-xtasks = "1"
```Using major-specific version spec helps Dependabot pick up new versions.
For further details, copy-paste the logic from other projects, like Scarb or CairoLS.## Development
Try as much as possible to not break existing workflows anywhere.
Follow semantic versioning.
Ideally, it'd be the best for this crate to always be backwards-compatible and stay on `1` major version number.To ship your changes, just `cargo publish` a new release to crates.io.
Then make sure the project of your interest `Cargo.lock` points to the new release.
No need to update other projects, Dependabot will do this job for you sometime in the future.### Adding a new toolchain project
If you're working on a new Cairo Toolchain project,
make sure you add all necessary information in [`src/upgrade.rs`](src/upgrade.rs) xtask.