mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-07 04:20:44 +00:00
PR comments
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
The script `runApalache.sh` runs Apalache against one of the model files in this repository. This document describes how to use it.
|
||||
|
||||
1. Get Apalache, by following [these](https://apalache.informal.systems/docs/apalache/installation/index.html) instructions. TLDR (recommended: build from source):
|
||||
1. Get Apalache, by following [these](https://apalache.informal.systems/docs/apalache/installation/index.html) instructions. Summarized:
|
||||
|
||||
1. `git clone https://github.com/informalsystems/apalache.git`
|
||||
2. `make package`
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# Works in all cases except running from jar on Windows
|
||||
EXE=$APALACHE_HOME/bin/apalache-mc
|
||||
|
||||
@@ -23,12 +25,12 @@ if ! [[ -f "$CFG" ]]; then
|
||||
echo "write-intermediate: true" >> $CFG
|
||||
fi
|
||||
|
||||
if [[ MC ]]; then
|
||||
# Run 3c1f
|
||||
$EXE $CMD $FLAGS MC_PBT_3C_1F.tla
|
||||
else
|
||||
if [[ "$MC" = false ]]; then
|
||||
# Run 2c2f
|
||||
$EXE $CMD $FLAGS MC_PBT_2C_2F.tla
|
||||
else
|
||||
# Run 3c1f
|
||||
$EXE $CMD $FLAGS MC_PBT_3C_1F.tla
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user