Skip to content

Commit

Permalink
Again Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Hexer10 committed May 19, 2018
1 parent 3ebea01 commit a08da5b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ set -ev

TAG=$1

echo "Create clean plugins folder"
mkdir -p build/addons/sourcemod/scripting/include
mkdir -p build/addons/sourcemod/plugins
mkdir -p build/addons/sourcemod/translations

#Move firstly the Phrases
echo "Move Phrases"
mv addons/sourcemod/translations/* build/addons/sourcemod/translations/

echo "Download und extract sourcemod"
wget "http://www.sourcemod.net/latest.php?version=1.8&os=linux" -O sourcemod.tar.gz
tar -xzf sourcemod.tar.gz
Expand All @@ -19,14 +28,6 @@ done

addons/sourcemod/scripting/compile.sh VipBonus.sp

echo "Create clean plugins folder"
mkdir -p build/addons/sourcemod/scripting/include
mkdir build/addons/sourcemod/plugins
mkdir build/addons/sourcemod/translations

echo "Move Phrases"
mv addons/sourcemod/translations/* build/addons/sourcemod/translations

echo "Move plugins files to their folder"
mv addons/sourcemod/scripting/include/vipbonus.inc build/addons/sourcemod/scripting/include
mv addons/sourcemod/scripting/VipBonus.sp build/addons/sourcemod/scripting
Expand Down

0 comments on commit a08da5b

Please sign in to comment.