Skip to content

Commit

Permalink
fix: adapt test suite to new Lake, mathlib not compatible yet though
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha committed Jul 3, 2022
1 parent a5bd0de commit 4b5e606
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
12 changes: 5 additions & 7 deletions test/dep/lakefile.lean
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import Lake
open Lake DSL

package dep {
defaultFacet := PackageFacet.oleans
dependencies := #[{
name := `mathlib
src := Source.git "https://github.com/leanprover-community/mathlib4.git" "84ca33e940678954dc146f732f447ddc8984cf39"
}]
}
package dep

require mathlib from git "https://github.com/leanprover-community/mathlib4.git"

lean_lib dep
5 changes: 5 additions & 0 deletions test/dep/lean_packages/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"version": 1,
"packages":
[{"url": "https://github.com/leanprover-community/mathlib4.git",
"rev": "ecd37441047e490ff2ad339e16f45bb8b58591bd",
"name": "mathlib"}]}

0 comments on commit 4b5e606

Please sign in to comment.