Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhartha-gadgil committed Sep 11, 2024
1 parent 09b19bc commit 58c8c9e
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lean_action_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Lean Action CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: leanprover/lean-action@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.lake
3 changes: 3 additions & 0 deletions LeanSearchClient.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-- This module serves as the root of the `LeanSearchClient` library.
-- Import modules here that should be built as part of the library.
import LeanSearchClient.Basic
1 change: 1 addition & 0 deletions LeanSearchClient/Basic.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def hello := "world"
4 changes: 4 additions & 0 deletions Main.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import LeanSearchClient

def main : IO Unit :=
IO.println s!"Hello, {hello}!"
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# LeanSearchClient
12 changes: 12 additions & 0 deletions lakefile.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import Lake
open Lake DSL

package "LeanSearchClient" where
-- add package configuration options here

lean_lib «LeanSearchClient» where
-- add library configuration options here

@[default_target]
lean_exe "leansearchclient" where
root := `Main
1 change: 1 addition & 0 deletions lean-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
leanprover/lean4:v4.11.0

0 comments on commit 58c8c9e

Please sign in to comment.