Skip to content

Commit

Permalink
bump to v4.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yangky11 committed Dec 24, 2024
1 parent f6a3f14 commit a7e81f2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions LeanCopilot/Tactics.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import LeanCopilot.Options
import LeanCopilot.Frontend
import Aesop.Util.Basic
import Batteries.Data.String.Basic
import Batteries.Data.String.Matcher

open Lean Meta Parser Elab Term Tactic

Expand Down
18 changes: 9 additions & 9 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{"version": "1.1.0",
"packagesDir": ".lake/packages",
"packages":
[{"url": "https://github.com/leanprover-community/batteries.git",
[{"url": "https://github.com/leanprover-community/aesop",
"type": "git",
"subDir": null,
"scope": "",
"rev": "9c6c2d647e57b2b7a0b42dd8080c698bd33a1b6f",
"name": "batteries",
"rev": "5a0ec8588855265ade536f35bcdcf0fb24fd6030",
"name": "aesop",
"manifestFile": "lake-manifest.json",
"inputRev": "9c6c2d647e57b2b7a0b42dd8080c698bd33a1b6f",
"inputRev": "v4.14.0",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/aesop",
"configFile": "lakefile.toml"},
{"url": "https://github.com/leanprover-community/batteries.git",
"type": "git",
"subDir": null,
"scope": "",
"rev": "deb279eb7be16848d0bc8387f80d6e41bcdbe738",
"name": "aesop",
"rev": "8d6c853f11a5172efa0e96b9f2be1a83d861cdd9",
"name": "batteries",
"manifestFile": "lake-manifest.json",
"inputRev": "deb279eb7be16848d0bc8387f80d6e41bcdbe738",
"inputRev": "v4.14.0",
"inherited": false,
"configFile": "lakefile.toml"}],
"name": "LeanCopilot",
Expand Down
10 changes: 5 additions & 5 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@ private def nameToVersionedSharedLib (name : String) (v : String) : String :=

def afterReleaseSync {α : Type} (pkg : Package) (build : SpawnM (Job α)) : FetchM (Job α) := do
if pkg.preferReleaseBuild ∧ pkg.name ≠ (← getRootPackage).name then
(← pkg.release.fetch).bindAsync fun _ _ => build
(← pkg.gitHubRelease.fetch).bindAsync fun _ _ => build
else
build


def afterReleaseAsync {α : Type} (pkg : Package) (build : JobM α) : FetchM (Job α) := do
if pkg.preferReleaseBuild ∧ pkg.name ≠ (← getRootPackage).name then
(← pkg.release.fetch).bindSync fun _ _ => build
(← pkg.gitHubRelease.fetch).bindSync fun _ _ => build
else
Job.async build

Expand Down Expand Up @@ -303,8 +303,8 @@ extern_lib libleanffi pkg := do
buildStaticLib (pkg.nativeLibDir / name) #[ct2O]


require batteries from git "https://github.com/leanprover-community/batteries.git" @ "9c6c2d647e57b2b7a0b42dd8080c698bd33a1b6f" -- Lean v4.11.0
require aesop from git "https://github.com/leanprover-community/aesop" @ "deb279eb7be16848d0bc8387f80d6e41bcdbe738" -- Lean v4.11.0
require batteries from git "https://github.com/leanprover-community/batteries.git" @ "v4.14.0" -- Lean v4.11.0
require aesop from git "https://github.com/leanprover-community/aesop" @ "v4.14.0" -- Lean v4.11.0

meta if get_config? env = some "dev" then -- dev is so not everyone has to build it
require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "e490631b72a43a6a82b4ddd3a2d020b2029491d0" -- Lean v4.11.0
require «doc-gen4» from git "https://github.com/leanprover/doc-gen4" @ "v4.14.0" -- Lean v4.11.0
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
leanprover/lean4:v4.11.0
leanprover/lean4:v4.14.0

0 comments on commit a7e81f2

Please sign in to comment.