Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yangky11 committed Dec 25, 2024
2 parents 2b0418e + 46a605e commit db571ba
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,22 @@ package «my-package» {
]
}
```
Alternatively, if your project uses lakefile.toml, it should include:
```toml
moreLinkArgs = ["-L./.lake/packages/LeanCopilot/.lake/build/lib", "-lctranslate2"]
```

2. Add the following line to lakefile.lean, including the quotation marks:
```lean
require LeanCopilot from git "https://github.com/lean-dojo/LeanCopilot.git" @ "LEAN_COPILOT_VERSION"
```
`LEAN_COPILOT_VERSION` must match with your lean-toolchain.
`LEAN_COPILOT_VERSION` must match with your lean-toolchain. Alternatively, if your project uses lakefile.toml, it should include:
```toml
[[require]]
name = "LeanCopilot"
git = "https://github.com/lean-dojo/LeanCopilot.git"
rev = "LEAN_COPILOT_VERSION"
```

3. Run `lake update LeanCopilot`.

Expand Down

0 comments on commit db571ba

Please sign in to comment.