Skip to content

Commit 518ab57

Browse files
authored
Build CommunityModules before installing TLAPS and Apalache.
[IDE]
1 parent fa56d3f commit 518ab57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.devcontainer/install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ wget -qN https://github.com/tlaplus/tlaplus/releases/download/v1.8.0/tla2tools.j
1212
echo "alias tlcrepl='java -cp /workspace/ewd998/tools/tla2tools.jar:/workspaces/ewd998/tools/tla2tools.jar tlc2.REPL'" >> $HOME/.bashrc
1313
echo "alias tlc='java -cp /workspace/ewd998/tools/tla2tools.jar:/workspaces/ewd998/tools/tla2tools.jar tlc2.TLC'" >> $HOME/.bashrc
1414

15+
## Install Apache Ant that builds CommunityModules (see build.xml)
16+
sudo apt-get install -y ant
17+
18+
## Do initial build
19+
ant -d -f build.xml
20+
1521
## Install TLAPS (proof system)
1622
wget -N https://github.com/tlaplus/tlapm/releases/download/v1.4.5/tlaps-1.4.5-x86_64-linux-gnu-inst.bin -P /tmp
1723
chmod +x /tmp/tlaps-1.4.5-x86_64-linux-gnu-inst.bin
@@ -24,9 +30,3 @@ mkdir -p tools/apalache
2430
tar xvfz /tmp/apalache.tgz --directory tools/apalache/
2531
echo 'export PATH=$PATH:/workspace/ewd998/tools/apalache/bin:/workspaces/ewd998/tools/apalache/bin' >> $HOME/.bashrc
2632
tools/apalache/bin/apalache-mc config --enable-stats=true
27-
28-
## Install Apache Ant that builds CommunityModules (see build.xml)
29-
sudo apt-get install -y ant
30-
31-
## Do initial build
32-
ant -d -f build.xml

0 commit comments

Comments
 (0)