Update running_locally.md
This commit is contained in:
@@ -85,7 +85,7 @@ git clone https://github.com/hhu-adam/GameSkeleton.git
|
|||||||
Download dependencies and build the game:
|
Download dependencies and build the game:
|
||||||
```bash
|
```bash
|
||||||
cd GameSkeleton
|
cd GameSkeleton
|
||||||
lake update
|
lake update -R
|
||||||
lake exe cache get # if your game depends on mathlib
|
lake exe cache get # if your game depends on mathlib
|
||||||
lake build
|
lake build
|
||||||
```
|
```
|
||||||
@@ -118,7 +118,7 @@ When modifying the game engine itself (in particular the content in `lean4game/s
|
|||||||
```bash
|
```bash
|
||||||
cd NNG4
|
cd NNG4
|
||||||
export LEAN4GAME=local
|
export LEAN4GAME=local
|
||||||
lake update
|
lake update -R
|
||||||
lake build
|
lake build
|
||||||
```
|
```
|
||||||
This causes lake to search locally for the `GameServer` lake package instead of using the version from github. Therefore, when you `lake build` your game, it will rebuild with the modified `GameServer`.
|
This causes lake to search locally for the `GameServer` lake package instead of using the version from github. Therefore, when you `lake build` your game, it will rebuild with the modified `GameServer`.
|
||||||
|
|||||||
Reference in New Issue
Block a user