PhysLean/scripts/add-copilot.sh

19 lines
474 B
Bash
Raw Normal View History

2024-05-21 07:48:06 -04:00
#!/usr/bin/env bash
cp ./scripts/copilot_lakefile.txt lakefile.lean
lake update LeanCopilot
lake exe LeanCopilot/download
lake build
echo ".........................................................................."
2024-05-21 08:18:09 -04:00
echo "Please do not push changes to the following files:
- lakefile.lean
- .lake/lakefile.olean
- .lake/lakefile.olean.trace
- lake-manifest.json
Please ensure that there are no 'import LeanCopilot' statements in the lean files."