Skip to content

Commit

Permalink
complete devcontainer setup
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Nov 30, 2023
1 parent af3d8b8 commit 9634e2c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"overrideCommand": true,
"onCreateCommand": {
"npm_install": "(cd ~/lean4game && npm install)",
"lake_build": "(cd ~/game && lake update -R && lake exe cache get && lake build)"
"lake_build": "(cd ~/game && lake update -R && lake build)"
},
"postStartCommand": "cd ~/lean4game && export VITE_LEAN4GAME_SINGLE=true && npm start",
"customizations": {
Expand Down
4 changes: 2 additions & 2 deletions Game/Levels/DemoWorld/L01_HelloWorld.lean
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ Statement (h : x = 2) (g: y = 4) : x + x = y := by
Hint "You can either start using `h` or `g`."
Branch
rw [g]
Hint "You should use {h} now."
Hint "You should use `{h}` now."
rw [h]
rw [h]
Hint "You should use {g} now."
Hint "You should use `{g}` now."
rw [g]

Conclusion "This last message appears if the level is solved."
Expand Down
22 changes: 11 additions & 11 deletions lake-manifest.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{"version": 7,
"packagesDir": ".lake/packages",
"packages":
[{"url": "https://github.com/leanprover-community/lean4game.git",
"type": "git",
"subDir": "server",
"rev": "241ef4b67a5c95e33a4101769bb34ae45a66b82c",
"name": "GameServer",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.3.0-rc2",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover/std4",
[{"url": "https://github.com/leanprover/std4.git",
"type": "git",
"subDir": null,
"rev": "a652e09bd81bcb43ea132d64ecc16580b0c7fa50",
"name": "std",
"manifestFile": "lake-manifest.json",
"inputRev": "main",
"inputRev": "v4.3.0-rc2",
"inherited": true,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/lean4game.git",
"type": "git",
"subDir": "server",
"rev": "07b6525c5807436ed58ba4a3b399e694434f69d5",
"name": "GameServer",
"manifestFile": "lake-manifest.json",
"inputRev": "v4.3.0-rc2",
"inherited": false,
"configFile": "lakefile.lean"},
{"url": "https://github.com/leanprover-community/quote4",
"type": "git",
"subDir": null,
Expand Down

0 comments on commit 9634e2c

Please sign in to comment.