mirror of
https://github.com/leanprover/lean4.git
synced 2026-03-17 10:24:07 +00:00
This PR introduces the `assert!` variant `debug_assert!` that is activated when compiled with `buildType` `debug`. --------- Co-authored-by: Mac Malone <tydeu@hatpress.net>
9 lines
130 B
Bash
Executable File
9 lines
130 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
rm -rf .lake/build
|
|
# should succeed
|
|
lake exe release || exit 1
|
|
# should fail
|
|
lake exe debug && exit 1
|
|
exit 0
|