Update README logic with build guide

This commit is contained in:
howardwu 2020-12-30 00:24:46 -04:00
parent b7f2790247
commit 3f79420011

View File

@ -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
)
}
}