Skip to content

Commit ef25caf

Browse files
merging ...
2 parents 0f04087 + 07ef2bc commit ef25caf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+202
-54
lines changed

.devcontainer/devcontainer.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,5 @@
88
"vscjava.vscode-java-pack"
99
],
1010

11-
// - Do not automatically update extensions (E.g. better-code ext is patched for TLA+)
12-
// - Use Java GC that works best with TLC.
13-
// - https://github.com/alygin/vscode-tlaplus/wiki/Automatic-Module-Parsing
14-
"settings": {
15-
"tlaplus.tlc.statisticsSharing": "share",
16-
"tlaplus.java.options": "-XX:+UseParallelGC",
17-
"tlaplus.java.home": "/home/codespace/.java/current/",
18-
"[tlaplus]": {"editor.codeActionsOnSave": {"source": true} }
19-
},
20-
2111
"postCreateCommand": "bash -i .devcontainer/install.sh",
2212
}

.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 -f build.xml

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
tlc/
22
dist/
33
build/
4+
tests/*.out
45
*.toolbox/
56
*.tlaps/
67
states/
8+
tools/
9+
_apalache-out/

.gitpod.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
tasks:
2+
- init: sudo ln -s /workspace /workspaces && sdk install ant && bash -i .devcontainer/install.sh
3+
4+
vscode:
5+
extensions:
6+
- alygin.vscode-tlaplus-nightly
7+
- vscjava.vscode-java-pack

.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,15 @@
1414
<natures>
1515
<nature>org.eclipse.jdt.core.javanature</nature>
1616
</natures>
17+
<filteredResources>
18+
<filter>
19+
<id>1644339741492</id>
20+
<name></name>
21+
<type>30</type>
22+
<matcher>
23+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
24+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
25+
</matcher>
26+
</filter>
27+
</filteredResources>
1728
</projectDescription>

.smoke/SmokeBagsExt.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.smoke/SmokeBagsExt.tla

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
------------------------- MODULE SmokeBagsExt -------------------------
2+
EXTENDS BagsExtTests
3+
4+
=============================================================================

.smoke/SmokeBagsExtTests.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.smoke/SmokeBagsExtTests.tla

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
------------------------- MODULE SmokeBagsExtTests -------------------------
2+
EXTENDS BagsExtTests
3+
4+
=============================================================================

.smoke/SmokeBitwise.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)