mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-10 10:01:40 +00:00
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.
13 lines
340 B
Bash
Executable File
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
|