Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Commit

Permalink
[v1.5] update readme.md (#184)
Browse files Browse the repository at this point in the history
* Updated move stdlib.
Added Reflect native functions.

* Fmt

* Fix for clippy.

* Fix for clippy.

* update readme.md

Co-authored-by: Dm. Yakushev <[email protected]>
  • Loading branch information
vladimirovmm and RIg410 authored Jan 14, 2022
1 parent 928854b commit 5afe657
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Regular installation:
cargo install --path dove
```

See help:
##### See help:

```shell script
dove -h
```

Create new project:
##### Create new project:

```shell script
dove new first_project
Expand All @@ -58,13 +58,30 @@ dialect = "Pont"
* `pont` - Polkadot SS58 addresses.
* `dfinance` - bech32 addresses.

Build project:
##### Build project:

```shell script
dove build
```
See `./build/` folder to get scripts/modules binaries.

##### Clean build directory:
```shell script
dove clean
```
The contents of the directories will be deleted:
- `<PROJECT_DIR>/storage`
- `<PROJECT_DIR>/build`

##### Clear build directory and global cache:
```shell script
dove clean --global
```
The contents of the directories will be deleted:
- `<PROJECT_DIR>/storage`
- `<PROJECT_DIR>/build`
- `~/.move/`

### Pallet Transactions

Command `tx` allows you to create transactions for Polkadot chain with [Move Pallete](https://github.com/pontem-network/sp-move) on board.
Expand Down
4 changes: 2 additions & 2 deletions dove/src/cmd/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use move_cli::Move;
use crate::cmd::{Cmd, default_sourcemanifest};
use crate::context::Context;

/// Clean target directory command.
/// Clean build directory command.
#[derive(StructOpt, Debug, Default)]
#[structopt(setting(structopt::clap::AppSettings::ColoredHelp))]
pub struct Clean {
Expand All @@ -27,7 +27,7 @@ pub struct Clean {
// PROJECT_DIR/storage
// PROJECT_DIR/build
// ~/.move/*
#[structopt(help = "Clear target directory and global cache command", long)]
#[structopt(help = "Clean build directory and global cache command", long)]
global: bool,
}

Expand Down

0 comments on commit 5afe657

Please sign in to comment.