mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 12:17:35 +03:00
Update README logic with build guide
This commit is contained in:
parent
b7f2790247
commit
3f79420011
@ -58,6 +58,29 @@ impl README {
|
||||
}
|
||||
|
||||
fn template(&self) -> String {
|
||||
format!("# {}\n", self.package_name)
|
||||
format!(
|
||||
r"# {}
|
||||
|
||||
## Build Guide
|
||||
|
||||
To compile this Leo program, run:
|
||||
```
|
||||
leo build
|
||||
```
|
||||
|
||||
To test this Leo program, run:
|
||||
```
|
||||
leo test
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
To output the number of constraints, run:
|
||||
```
|
||||
leo build -d
|
||||
```
|
||||
",
|
||||
self.package_name
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user