Skip to content

Commit

Permalink
chore: Establish initial structure
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen committed Feb 28, 2024
1 parent 304dc71 commit 9e6c9a7
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/build
/lakefile.olean
*.olean
/lake-packages/*
/.lake
4 changes: 0 additions & 4 deletions Main.lean

This file was deleted.

3 changes: 0 additions & 3 deletions Subverso.lean

This file was deleted.

1 change: 0 additions & 1 deletion Subverso/Basic.lean

This file was deleted.

1 change: 1 addition & 0 deletions Tests.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def main : IO UInt32 := pure 0
5 changes: 5 additions & 0 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{"version": 7,
"packagesDir": ".lake/packages",
"packages": [],
"name": "subverso",
"lakeDir": ".lake"}
17 changes: 9 additions & 8 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ open Lake DSL
package «subverso» where
-- add package configuration options here

lean_lib «Subverso» where
-- add library configuration options here
lean_lib SubversoHighlighting where
srcDir := "src/highlighting"
roots := #[`Subverso.Highlighting]

lean_lib SubversoExamples where
srcDir := "src/examples"
roots := #[`Subverso.Examples]

@[default_target]
lean_exe «subverso» where
root := `Main
-- Enables the use of the Lean interpreter by the executable (e.g.,
-- `runFrontend`) at the expense of increased binary size on Linux.
-- Remove this line if you do not need such functionality.
supportInterpreter := true
lean_exe «subverso-tests» where
root := `Tests
2 changes: 1 addition & 1 deletion lean-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stable
leanprover/lean4:nightly-2024-02-26
Empty file.
Empty file.

0 comments on commit 9e6c9a7

Please sign in to comment.