mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
First pass of checkmate schema
This commit is contained in:
parent
93513cffae
commit
40223a697d
6 changed files with 515 additions and 0 deletions
7
crates/compiler/checkmate/src/lib.rs
Normal file
7
crates/compiler/checkmate/src/lib.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
mod convert;
|
||||
mod schema;
|
||||
|
||||
pub fn is_checkmate_enabled() -> bool {
|
||||
let flag = std::env::var("ROC_CHECKMATE");
|
||||
flag.as_deref() == Ok("1")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue