mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
Fix: linux build file name (#91877)
This commit is contained in:
10
.vscode/tasks.json
vendored
10
.vscode/tasks.json
vendored
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)**:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user