2024-05-17 20:45:29 -07:00
|
|
|
# Usage Example
|
|
|
|
|
|
|
|
This example showcases how to bind library dependencies and execute the `Aesop`
|
|
|
|
tactic in Lean. First build the example project:
|
|
|
|
``` sh
|
|
|
|
pushd Example
|
|
|
|
lake build
|
|
|
|
popd
|
|
|
|
```
|
2024-05-31 17:09:12 -07:00
|
|
|
This would generate compiled `.olean` files. Then run one of the examples from the
|
2024-05-17 20:56:01 -07:00
|
|
|
project root:
|
2024-05-17 20:45:29 -07:00
|
|
|
``` sh
|
2024-05-17 20:56:01 -07:00
|
|
|
poetry run examples/aesop.py
|
2024-05-31 17:09:12 -07:00
|
|
|
poetry run examples/data.py
|
2024-05-17 20:45:29 -07:00
|
|
|
```
|
|
|
|
|
2024-05-31 17:09:12 -07:00
|
|
|
Warning: If you make modifications to any Lean files, you must re-run `lake build`!
|
|
|
|
|