Skip to content

Commit

Permalink
feat: WIP bump
Browse files Browse the repository at this point in the history
  • Loading branch information
batleforc committed Jan 5, 2025
1 parent a2bef74 commit 592229d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,13 @@ Based on the [Rust NX](https://github.com/cammisuli/monodon/tree/main/packages/r
nx generate @monodon/rust:library my-rust-lib # Create lib
nx generate @monodon/rust:binary my-rust-app # Create app
```

## Developing

### Prerequisites

- [Rust](https://www.rust-lang.org/tools/install)
- [Cocogitto](https://github.com/cocogitto/cocogitto)
- [Nx](https://nx.dev/latest/node/getting-started/installation)
- [Cargo Workspace](https://crates.io/crates/cargo-workspaces#usage)
- [GitLeaks](https://github.com/gitleaks/gitleaks)
2 changes: 1 addition & 1 deletion cog.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pre_bump_hooks = [
"echo {{version}}",
"cargo audit && cargo bump {{version}} && git add Cargo.toml && git commit -m \"chore(version): set cargo version to {{version}}\"",
"cargo audit && cargo workspaces version {{version}} && git add Cargo.toml && git commit -m \"chore(version): set cargo version to {{version}}\"",
]
post_bump_hooks = ["git push", "git push origin {{version}}"]

Expand Down

0 comments on commit 592229d

Please sign in to comment.