Skip to content

Commit

Permalink
refactor: further simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
tydeu committed Nov 21, 2023
1 parent b15fa82 commit 2d870a6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lake/Lake/CLI/Init.lean
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,17 @@ def mathConfigFileContents (pkgName libRoot : String) :=
s!"import Lake
open Lake DSL
def moreServerArgs := #[
-- Settings applied to both builds and interactive editing
def basicLeanArgs := #[
\"-Dpp.unicode.fun=true\", -- pretty-prints `fun a ↦ b`
\"-Dpp.proofs.withType=false\"
]
-- These settings only apply during `lake build`, but not in VSCode editor.
def moreLeanArgs := moreServerArgs
package {pkgName} where
moreServerArgs := moreServerArgs
moreLeanArgs := moreLeanArgs
-- Settings applied only to interactive contexts (e.g., the VSCode editor)
moreServerArgs := basicLeanArgs
-- Settings applied only to a build (e.g., via `lake build`)
moreLeanArgs := basicLeanArgs
-- add additional package configuration options here
require mathlib from git
Expand Down

0 comments on commit 2d870a6

Please sign in to comment.