Skip to content

Commit

Permalink
chore(dev): Try just instead of xtasks methods (#5461)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuanwo authored Dec 26, 2024
1 parent 93f3aa1 commit 26a2bfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 5 additions & 3 deletions dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ This project is designed to provide dev tools for the entire opendal project.

## Usage

List all available recipes:

```bash
cargo o help
just --list
```

## Features
## Recipes

### Generate

Generate code for OpenDAL services.

```bash
cargo o generate -l python
just generate python
```
7 changes: 5 additions & 2 deletions .cargo/config.toml → justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@
# specific language governing permissions and limitations
# under the License.

[alias]
o = "run --manifest-path ./dev/Cargo.toml --"
# Generate code for language
#
# Available languages: python
generate language:
cargo run --quiet --manifest-path=dev/Cargo.toml -- generate -l {{language}}

0 comments on commit 26a2bfe

Please sign in to comment.