Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
refactor: use lake test driver
Browse files Browse the repository at this point in the history
  • Loading branch information
hargoniX committed Jul 3, 2024
1 parent 4334dd9 commit 3982567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
# Ensure that panics actually cause the tests to fail
export LEAN_ABORT_ON_PANIC=1

.PHONY: all build test lint eval
.PHONY: all build test eval

all: build test

build:
lake build

test:
lake build Test

%.run: build
lake env lean $(@:.run=.lean)

lint: build
lake exe runLinter Sat
lake test

eval:
bash check_eval.bash
2 changes: 2 additions & 0 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ package LeanSAT {
moreGlobalServerArgs := #["--tstack=32000"]
}

@[test_driver]
lean_lib Test

lean_lib Eval

@[default_target]
Expand Down

0 comments on commit 3982567

Please sign in to comment.