Skip to content

Commit 9634e2c

Browse files
committed
complete devcontainer setup
1 parent af3d8b8 commit 9634e2c

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"overrideCommand": true,
1414
"onCreateCommand": {
1515
"npm_install": "(cd ~/lean4game && npm install)",
16-
"lake_build": "(cd ~/game && lake update -R && lake exe cache get && lake build)"
16+
"lake_build": "(cd ~/game && lake update -R && lake build)"
1717
},
1818
"postStartCommand": "cd ~/lean4game && export VITE_LEAN4GAME_SINGLE=true && npm start",
1919
"customizations": {

Game/Levels/DemoWorld/L01_HelloWorld.lean

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ Statement (h : x = 2) (g: y = 4) : x + x = y := by
1313
Hint "You can either start using `h` or `g`."
1414
Branch
1515
rw [g]
16-
Hint "You should use {h} now."
16+
Hint "You should use `{h}` now."
1717
rw [h]
1818
rw [h]
19-
Hint "You should use {g} now."
19+
Hint "You should use `{g}` now."
2020
rw [g]
2121

2222
Conclusion "This last message appears if the level is solved."

lake-manifest.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{"version": 7,
22
"packagesDir": ".lake/packages",
33
"packages":
4-
[{"url": "https://github.com/leanprover-community/lean4game.git",
5-
"type": "git",
6-
"subDir": "server",
7-
"rev": "241ef4b67a5c95e33a4101769bb34ae45a66b82c",
8-
"name": "GameServer",
9-
"manifestFile": "lake-manifest.json",
10-
"inputRev": "v4.3.0-rc2",
11-
"inherited": false,
12-
"configFile": "lakefile.lean"},
13-
{"url": "https://github.com/leanprover/std4",
4+
[{"url": "https://github.com/leanprover/std4.git",
145
"type": "git",
156
"subDir": null,
167
"rev": "a652e09bd81bcb43ea132d64ecc16580b0c7fa50",
178
"name": "std",
189
"manifestFile": "lake-manifest.json",
19-
"inputRev": "main",
10+
"inputRev": "v4.3.0-rc2",
2011
"inherited": true,
2112
"configFile": "lakefile.lean"},
13+
{"url": "https://github.com/leanprover-community/lean4game.git",
14+
"type": "git",
15+
"subDir": "server",
16+
"rev": "07b6525c5807436ed58ba4a3b399e694434f69d5",
17+
"name": "GameServer",
18+
"manifestFile": "lake-manifest.json",
19+
"inputRev": "v4.3.0-rc2",
20+
"inherited": false,
21+
"configFile": "lakefile.lean"},
2222
{"url": "https://github.com/leanprover-community/quote4",
2323
"type": "git",
2424
"subDir": null,

0 commit comments

Comments
 (0)