summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-17 15:57:50 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-17 15:57:50 +0100
commitfc97f2cab27658b81ef9409b3f388226a4745cee (patch)
tree410121176fb2f2f8a562f5a1a5c5366449acd58e /CONTRIBUTING.md
parent8bd7b4fa01915a4b8b8313f78935ca9762e7bcf9 (diff)
chore: improve progress graph, add contributing.md
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 0000000..2fa8ac8
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,26 @@
+# Common Commands
+
+> To improve the development experience, a number of aliases have been added to the `.cargo/config.toml` file. These can be run using `cargo <command>`.
+
+- **`cargo dev`**\
+ e.g. `cargo dev -f check ./examples/wasm/call.wat -a i32:0`\
+ Run the development version of the tinywasm-cli. This is the main command used for developing new features.
+
+- **`cargo generate-charts`**\
+ Generate test result charts
+
+- **`cargo test-mvp`**\
+ Run the WebAssembly MVP (1.0) test suite
+
+- **`cargo version-dev`**\
+ Bump the version to the next dev version. This should be used after a release so test results are not overwritten. Does not create a new github release.
+
+## Workspace Commands
+
+> These commands require the [cargo-workspaces](https://crates.io/crates/cargo-workspaces) crate to be installed.
+
+- **`cargo workspaces version`**\
+ Bump the version of all crates in the workspace and push changes to git. This is used for releasing new versions on github.
+
+- **`cargo workspaces publish --from-git`**\
+ Publish all crates in the workspace to crates.io. This should be used a new version has been released on github. After publishing, the version should be bumped to the next dev version.