forked from cmss13-devs/cmss13
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creates .tgs.yml, removes more binaries (cmss13-devs#3406)
as above
- Loading branch information
Showing
9 changed files
with
97 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version: 1 | ||
byond: "514.1588" | ||
static_files: | ||
- name: config | ||
- name: data | ||
linux_scripts: | ||
PreCompile.sh: tools/tgs_scripts/PreCompile.sh | ||
WatchdogLaunch.sh: tools/tgs_scripts/WatchdogLaunch.sh | ||
InstallDeps.sh: tools/tgs_scripts/InstallDeps.sh | ||
windows_scripts: | ||
PreCompile.bat: tools/tgs_scripts/PreCompile.bat | ||
security: Trusted |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@echo off | ||
cd /D "%~dp0" | ||
set TG_BOOTSTRAP_CACHE=%cd% | ||
IF NOT %1 == "" ( | ||
rem TGS4+: we are passed the game directory on the command line | ||
cd %1 | ||
) ELSE IF EXIST "..\Game\B\tgstation.dmb" ( | ||
rem TGS3: Game/B/tgstation.dmb exists, so build in Game/A | ||
cd ..\Game\A | ||
) ELSE ( | ||
rem TGS3: Otherwise build in Game/B | ||
cd ..\Game\B | ||
) | ||
set CBT_BUILD_MODE=TGS | ||
tools\build\build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
./InstallDeps.sh | ||
|
||
set -e | ||
set -x | ||
|
||
#load dep exports | ||
#need to switch to game dir for Dockerfile weirdness | ||
original_dir=$PWD | ||
cd "$1" | ||
. dependencies.sh | ||
cd "$original_dir" | ||
|
||
# update rust-g | ||
if [ ! -d "rust-g" ]; then | ||
echo "Cloning rust-g..." | ||
git clone https://github.com/tgstation/rust-g | ||
cd rust-g | ||
~/.cargo/bin/rustup target add i686-unknown-linux-gnu | ||
else | ||
echo "Fetching rust-g..." | ||
cd rust-g | ||
git fetch | ||
~/.cargo/bin/rustup target add i686-unknown-linux-gnu | ||
fi | ||
|
||
echo "Deploying rust-g..." | ||
git checkout "$RUST_G_VERSION" | ||
env PKG_CONFIG_ALLOW_CROSS=1 ~/.cargo/bin/cargo build --release --target=i686-unknown-linux-gnu --features redis_pubsub | ||
mv target/i686-unknown-linux-gnu/release/librust_g.so "$1/librust_g.so" | ||
cd .. | ||
|
||
# compile tgui | ||
echo "Compiling tgui..." | ||
cd "$1" | ||
chmod +x tools/bootstrap/node # Workaround for https://github.com/tgstation/tgstation-server/issues/1167 | ||
env TG_BOOTSTRAP_CACHE="$original_dir" TG_BOOTSTRAP_NODE_LINUX=1 CBT_BUILD_MODE="TGS" tools/bootstrap/node tools/build/build.js | ||
|
||
echo "Running changelog script..." | ||
python3 .github/ss13_genchangelog.py html/changelogs |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
# Special file to ensure all dependencies still exist between server launches. | ||
# Mainly for use by people who abuse docker by modifying the container's system. | ||
|
||
./InstallDeps.sh |