diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9e2fbce3cfc..f3c14cea754 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,7 +3,7 @@ "tasks": [ { "type": "process", - "command": "tools/build/build", + "command": "tools/build/build.sh", "windows": { "command": ".\\tools\\build\\build.bat" }, @@ -22,7 +22,7 @@ }, { "type": "process", - "command": "tools/build/build", + "command": "tools/build/build.sh", "args": ["-DLOWMEMORYMODE"], "windows": { "command": ".\\tools\\build\\build.bat", @@ -42,7 +42,7 @@ }, { "type": "process", - "command": "tools/build/build", + "command": "tools/build/build.sh", "args": [ "-DTESTING", "-DREAGENTS_TESTING", @@ -72,7 +72,7 @@ }, { "type": "process", - "command": "tools/build/build", + "command": "tools/build/build.sh", "args": [ "-DLOWMEMORYMODE", "-DTESTING", @@ -104,7 +104,7 @@ }, { "type": "process", - "command": "tools/build/build", + "command": "tools/build/build.sh", "args": ["-DTESTING", "-DMAP_TEST"], "windows": { "command": ".\\tools\\build\\build.bat", diff --git a/Dockerfile b/Dockerfile index bfa3929d3bb..2265d03ada6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN apt-get install -y --no-install-recommends \ COPY . . -RUN env TG_BOOTSTRAP_NODE_LINUX=1 tools/build/build \ +RUN env TG_BOOTSTRAP_NODE_LINUX=1 tools/build/build.sh \ && tools/deploy.sh /deploy # rust = base + rustc and i686 target diff --git a/tgui/README.md b/tgui/README.md index 15c3ca2aed8..6e4fc227295 100644 --- a/tgui/README.md +++ b/tgui/README.md @@ -66,22 +66,22 @@ will need these: > holding Shift** on any free space in the folder, then click on either > `Open command window here` or `Open PowerShell window here`. -**Via Juke Build (cross-platform)**: +**Via Juke Build (cross-platform(No))**: -- `tools/build/build tgui` - Build tgui in production mode. -- `tools/build/build tgui-dev` - Build tgui in production mode. - - `tools/build/build tgui-dev --reload` - Reload byond cache once. - - `tools/build/build tgui-dev --debug` - Run server with debug logging +- `tools/build/build.sh tgui` - Build tgui in production mode. +- `tools/build/build.sh tgui-dev` - Build tgui in production mode. + - `tools/build/build.sh tgui-dev --reload` - Reload byond cache once. + - `tools/build/build.sh tgui-dev --debug` - Run server with debug logging enabled. -- `tools/build/build tgui-lint` - Show (and auto-fix) problems with the code. -- `tools/build/build tgui-test` - Run unit and integration tests. -- `tools/build/build tgui-analyze` - Run a bundle analyzer. -- `tools/build/build tgui-clean` - Clean up tgui folder. +- `tools/build/build.sh tgui-lint` - Show (and auto-fix) problems with the code. +- `tools/build/build.sh tgui-test` - Run unit and integration tests. +- `tools/build/build.sh tgui-analyze` - Run a bundle analyzer. +- `tools/build/build.sh tgui-clean` - Clean up tgui folder. > With Juke Build, you can run multiple targets together, e.g.: > > ``` -> tools/build/build tgui tgui-lint tgui-tsc tgui-test +> tools/build/build.sh tgui tgui-lint tgui-tsc tgui-test > ``` **Via Bun (cross-platform)**: diff --git a/tools/build/README.md b/tools/build/README.md index 3fbcdb9dcfc..75a5a173500 100644 --- a/tools/build/README.md +++ b/tools/build/README.md @@ -9,7 +9,7 @@ This build script is the recommended way to compile the game, including not only a) Double-click `BUILD.bat` in the repository root to build (will wait for a key press before it closes). b) Double-click `tools/build/build.bat` to build (will exit as soon as it finishes building). - Linux: - a) Run `tools/build/build` from the repository root. + a) Run `tools/build/build.sh` from the repository root. The script will skip build steps whose inputs have not changed since the last run. @@ -18,7 +18,7 @@ The script will skip build steps whose inputs have not changed since the last ru You can get a list of all targets that you can build by running the following command: ``` -tools/build/build --help +tools/build/build.sh --help ``` ## Dependencies diff --git a/tools/ci/build.ps1 b/tools/ci/build.ps1 index ca2848af159..8a45542def8 100644 --- a/tools/ci/build.ps1 +++ b/tools/ci/build.ps1 @@ -4,6 +4,6 @@ if(!(Test-Path -Path "C:/byond")){ Remove-Item C:/byond.zip } -bash tools/build/build -Werror +bash tools/build/build.sh -Werror exit $LASTEXITCODE