mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
* Update rust_g.dm * thing * thing * thing * thing * thing * t * t * Update random_books.dm * Update new_player.dm * Update client_procs.dm * f * uwu * Update dbcore.dm * uwu * Update permissionedit.dm * Update dbcore.dm * Update dbcore.dm * Update blackbox.dm * Update dbcore.dm * d * uwu * Parameterize ipintel * Update lib_machines.dm * Parameterize stickyban * Update sql_message_system.dm * f * thing * thing * polls * Parameterize some of sql_ban_system * f * Update dbcore.dm * Parameterize ban check * Parameterize jobban creation * uwu * uwu * Parameterize edit ban * git * uwu * uwu * Update install_rust_g.sh * Remove libmariadb.dll * Update deploy.sh * uwu * Avoid extra __detect_rust_g proccalls * uwu * ree * Remove libmariadb.so download script * boom * Turdis * finally * sneaky * night night * list( * token * Update dbcore.dm * uwu * Improve readability on a query * uwu * Update sql_message_system.dm * Update sql_message_system.dm * Fix Malformed SQL Queries When Editing Admin Permissions (#51625) * fixes * s * Update antag_token.dm * Update create_poll.dm * Update lib_machines.dm * Update lib_machines.dm * Update client_procs.dm * Update rust_g.dm * Update code/__DEFINES/rust_g.dm Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com> * Update sql_message_system.dm * Update sql_message_system.dm * Update sql_message_system.dm * Update sql_message_system.dm * Update code/controllers/subsystem/blackbox.dm Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com> * Update code/controllers/subsystem/blackbox.dm Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com> * Update turdis.yml * Update client_procs.dm * Update client_procs.dm * debug logging * Update client_procs.dm * Update client_procs.dm * Update yogstation/code/modules/client/client_procs.dm Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com> * Update sql_ban_system.dm Co-authored-by: Tad Hardesty <tad@platymuus.com> Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com> Co-authored-by: alexkar598 <25136265+alexkar598@users.noreply.github.com>
40 lines
965 B
Bash
Executable File
40 lines
965 B
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 \
|
|
$1/sound/chatter \
|
|
$1/sound/voice/complionator \
|
|
$1/sound/instruments \
|
|
$1/strings
|
|
|
|
if [ -d ".git" ]; then
|
|
mkdir -p $1/.git/logs
|
|
cp -r .git/logs/* $1/.git/logs/
|
|
fi
|
|
|
|
cp yogstation.dmb yogstation.rsc $1/
|
|
cp -r _maps/* $1/_maps/
|
|
cp icons/default_title.dmi $1/icons/
|
|
cp -r sound/chatter/* $1/sound/chatter/
|
|
cp -r sound/voice/complionator/* $1/sound/voice/complionator/
|
|
cp -r sound/instruments/* $1/sound/instruments/
|
|
cp -r strings/* $1/strings/
|
|
|
|
#remove .dm files from _maps
|
|
|
|
#this regrettably doesn't work with windows find
|
|
#find $1/_maps -name "*.dm" -type f -delete
|
|
|
|
#dlls on windows
|
|
cp rust_g* $1/ || true
|
|
cp *byond-extools.* $1/ || true |