aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-04-12 14:24:05 +0200
committerGitHub <[email protected]>2023-04-12 14:24:05 +0200
commit84a648a82effeac4842960646859358a90afd5db (patch)
tree27a63d36d7898ff598bbb003c90c98e8f48d22fc /README.md
parentUpdate installation instructions (diff)
downloadzen-84a648a82effeac4842960646859358a90afd5db.tar.xz
zen-84a648a82effeac4842960646859358a90afd5db.zip
Update installation instructions
Now includes information on how to use `winget` to streamline installation
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 13 insertions, 10 deletions
diff --git a/README.md b/README.md
index 971efac98..ae1c183e1 100644
--- a/README.md
+++ b/README.md
@@ -47,20 +47,12 @@ basis and requires manual bootstrap so you will need to do the following at leas
Now you are ready to start building!
-#### Installing pre-commit (optional)
-
-This is necessary to run pre-commit locally, which is useful in particular to run clang-format prior to
-commit.
-
-* Make sure python3 is installed. Version 3.11 or later should work
- * You can install using `winget install python3`
-* Run `pip install pre-commit`
-
### Building with Visual Studio
We currently require a C++ compiler from Visual Studio 2022 or later. The following steps need to be run
from a Command Prompt window or a Terminal instance
+* Install Visual Studio 2022 (manually or via `winget install Microsoft.VisualStudio.2022.Professional`)
* clone the `zen` repository if you haven't already. This requires a valid github login and you need to
be part of the EpicGames organization
* run `git clone https://github.com/EpicGames/zen.git` or `gh repo clone EpicGames/zen` (you may want
@@ -77,7 +69,7 @@ from a Command Prompt window or a Terminal instance
fast as it could be (it does not go wide) but should only happen on the first build and will leverage
a local build cache
-### Building with xmake
+### Building with xmake on the command line
* configure xmake: `xmake config -m debug|release -a x64`
* build zenserver: `xmake build zenserver`
@@ -85,6 +77,17 @@ from a Command Prompt window or a Terminal instance
Compiled binaries are located in the `build` directory
+#### Installing pre-commit (optional)
+
+This is necessary to run pre-commit locally, which is useful in particular to run clang-format prior to
+commit.
+
+* Make sure python3 is installed. Version 3.11 or later should work
+ * You can install using `winget install python3`
+* Run `pip install pre-commit`
+
+Once set up, you can run precommit checks via `xmake precommit`
+
## Building on Linux
The following instructions have been collated using Ubuntu 20.04.