Files
fulpstation/tgui/build.sh
Jordan Brown c20be496a8 Adds deploy script. CI artifacts. Dependencies file (#39040)
Adds a simple file to create a work tree with only what's needed to RUN the
game.

.dmb/.rsc, _maps, strings, and some icons and sounds.

Makes the Dockerfile use it.

Also adds dependencies.sh which can serve as a single version source used by
all CI and utils.

Enables appveyor and artifacts, you can now download a .dmb deployment straight
from a PR or master commit.
2018-07-17 20:49:39 -07:00

13 lines
340 B
Bash
Executable File

#!/bin/bash
#RUN THIS IN THE tgui/ folder
set -e
source ../dependencies.sh
if [ ! -d "/tmp/nvm" ]; then
rm -rf /tmp/nvm && git clone https://github.com/creationix/nvm.git /tmp/nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source /tmp/nvm/nvm.sh && nvm install $NODE_VERSION
fi
source /tmp/nvm/nvm.sh
gulp --min