3 files changed
+6
-3
docs/debugging.md
+3
-1
@@ -6,15 +6,16 @@ To debug the app on VSCode, use [CodeLLDB](https://marketplace.visualstudio.com/
6
$ cargo debugger --package smbcloud-cli -- account signup
7
```
8
9
-
9
## Environment
10
11
Default environment is production. To run against dev environemt:
12
+
13
```bash
14
$ cargo run -- -e dev account login
15
```
16
17
Example debug the dev environment:
18
+
19
```bash
20
$ cargo debugger --package cli -- -e dev account login
21
```
@@ -22,6 +23,7 @@ $ cargo debugger --package cli -- -e dev account login
23
## Run from different directory
24
25
To run from a different directory, use the `--manifest-path` flag and `--package` flag. :
26
+
27
```bash
28
$ cargo debugger --manifest-path .../path/to/smbcloud-cli/Cargo.toml --package smbcloud-cli -- -e dev account login
29
```
docs/development.md
+2
-1
@@ -15,6 +15,7 @@ $ cargo workspaces publish --publish-as-is
15
```
16
17
It will ask whether should bump the vesions of the packages or not. To update version separately:
18
+
19
```bash
20
$ cargo workspaces version
20
-```
\ No newline at end of file
21
+```
docs/gems.md
+1
-1
@@ -9,4 +9,4 @@ To publish the gem with native extension, there are multiple steps to do.
9
- Build the gem: `bundle exec rake compile`.
10
- Update the gem version in the `gem/model/lib/model/version.rb`. Just use the same version as the `smbcloud-model` crate.
11
- Compile or build the gem directly: `bundle exec rake compile` or ` bundle exec rake buid`.
12
-- Then publish the gem: `gem push pkg/smbcloud-model-{version}.gem`.
\ No newline at end of file
12
+- Then publish the gem: `gem push pkg/smbcloud-model-{version}.gem`.