From 18e31e7e97984ce205ffb9cd715e32858012514a Mon Sep 17 00:00:00 2001 From: Ribbon <55782009+hardBSDk@users.noreply.github.com> Date: Thu, 30 May 2024 11:00:47 -0300 Subject: [PATCH] Fix the Linux commands --- docs/building.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/building.md b/docs/building.md index 2f8aa29c5..c786c36e0 100644 --- a/docs/building.md +++ b/docs/building.md @@ -123,7 +123,7 @@ Linux support is extremely experimental and presently incomplete. The build script uses LLVM/Clang 9. GCC while it should work in theory, is not easily interchangeable right now. -* Normal building via `xb build` uses Make. +* Normal building via `./xb build` uses Make. * [CodeLite](https://codelite.org) is supported. `xb devenv` will generate a workspace and attempt to open it. Your distribution's version may be out of date so check their website. * Experimental CMake generation is available to facilitate use of other IDEs such as [CLion](https://www.jetbrains.com/clion/). If `clion` is available inside `$PATH`, `xb devenv` will start it. Otherwise `build/CMakeLists.txt` needs to be generated by invoking `xb premake --devenv=cmake` manually. @@ -146,59 +146,59 @@ cd xenia ``` ```sh -xb setup +./xb setup ``` - Build on command line (add --config=release for release): ```sh -xb build +./xb build ``` - Pull latest changes, rebase, update submodules, and run premake: ```sh -xb pull +./xb pull ``` - Format code to the style guide: ```sh -xb format +./xb format ``` - Check for lint errors with clang-format: ```sh -xb lint +./xb lint ``` - Run the style checker on all code: ```sh -xb style +./xb style ``` - Remove all build/ output and do a hard git reset: ```sh -xb nuke +./xb nuke ``` - Runs the clang-tidy checker on all code: ```sh -xb tidy +./xb tidy ``` ## Testing: - Generate tests: ```sh -xb gentests +./xb gentests ``` - Run tests: ```sh -xb test +./xb test ``` - Run GPU tests: ```sh -xb gputest +./xb gputest ``` ## Other: @@ -206,7 +206,7 @@ xb gputest - Generate SPIR-V binaries and header files: ```sh -xb genspirv +./xb genspirv ``` ## Running