Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(dev): Try just instead of xtasks methods #5461

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should include a section about how to install just or at least a link to the just project.

```

## 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}}
Loading