mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-11 10:11:09 +00:00
* [ready] unit tests all worn icons (#72370) Fixes #71692 🆑 ShizCalev code: Added a unit test for ALL worn icons. fix: Fixed a bunch of broken worn icons! /🆑 * [ready] unit tests all worn icons * Should have fixed most of the failures now * Here, hopefully that should fix what was left * Okay maybe it just hadn't been fixed yet * I can be a bit dumb sometimes * Okay, now it's going to work, I promise * I'm so tired of this Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com>
52 lines
1.3 KiB
Bash
Executable File
52 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
#Run this in the repo root after compiling
|
|
#First arg is path to where you want to deploy
|
|
#creates a work tree free of everything except what's necessary to run the game
|
|
|
|
#second arg is working directory if necessary
|
|
if [[ $# -eq 2 ]] ; then
|
|
cd $2
|
|
fi
|
|
|
|
mkdir -p \
|
|
$1/_maps \
|
|
$1/icons/effects \
|
|
$1/icons/mob/clothing \
|
|
$1/icons/mob/inhands \
|
|
$1/icons/mob/simple \
|
|
$1/icons/obj \
|
|
$1/icons/runtime \
|
|
$1/sound/runtime \
|
|
$1/strings \
|
|
$1/tgui/public \
|
|
$1/tgui/packages/tgfont/dist
|
|
|
|
if [ -d ".git" ]; then
|
|
mkdir -p $1/.git/logs
|
|
cp -r .git/logs/* $1/.git/logs/
|
|
fi
|
|
|
|
cp tgstation.dmb tgstation.rsc $1/
|
|
cp -r _maps/* $1/_maps/
|
|
cp -r icons/effects/* $1/icons/effects/
|
|
cp -r icons/mob/clothing/* $1/icons/mob/clothing/
|
|
cp -r icons/mob/inhands/* $1/icons/mob/inhands/
|
|
cp -r icons/mob/simple/* $1/icons/mob/simple/
|
|
cp -r icons/obj/* $1/icons/obj/
|
|
cp -r icons/runtime/* $1/icons/runtime/
|
|
cp -r sound/runtime/* $1/sound/runtime/
|
|
cp -r strings/* $1/strings/
|
|
cp -r tgui/public/* $1/tgui/public/
|
|
cp -r tgui/packages/tgfont/dist/* $1/tgui/packages/tgfont/dist/
|
|
|
|
#remove .dm files from _maps
|
|
|
|
#this regrettably doesn't work with windows find
|
|
#find $1/_maps -name "*.dm" -type f -delete
|
|
|
|
#dlls on windows
|
|
if [ "$(uname -o)" = "Msys" ]; then
|
|
cp ./*.dll $1/
|
|
fi
|