Skip to content

Commit

Permalink
fix devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Dec 1, 2023
1 parent 8d48ed4 commit ad19f88
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"overrideCommand": true,
"onCreateCommand": {
"npm_install": "(cd ~/lean4game && npm install)",
"lake_build": "(cd ~/game && lake update -R && lake build"
// BUG: Apparently `&& lake exe cache get` was needed here because the update hook was broken.
// should been fixed in https://github.com/leanprover-community/mathlib4/pull/8755
"lake_build": "(cd ~/game && lake update -R && lake exe cache get && lake build)"
},
"postStartCommand": "cd ~/lean4game && export VITE_LEAN4GAME_SINGLE=true && npm start",
"customizations": {
Expand Down

0 comments on commit ad19f88

Please sign in to comment.