Raised This Month: $32 Target: $400
 8% 

SM:RPG compile problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
reyosh
New Member
Join Date: May 2019
Old 05-24-2019 , 17:53   SM:RPG compile problem
Reply With Quote #1

Hi, i have a problem with compile SM:RPG "upgrades" files.

Code:
# from smlib travis tests
SMPATTERN="http:.*sourcemod-.*-linux\..*"
SMURL="http://www.sourcemod.net/smdrop/$SMVERSION/"
SMPACKAGE=`lynx -dump "$SMURL" | egrep -o "$SMPATTERN" | tail -1`

# get sourcemod package and copy plugin code into scripting folder
if [ ! -d "build" ]; then
        mkdir build
        cd build
        wget $SMPACKAGE
        tar -xzf $(basename "$SMPACKAGE")
        rm addons/sourcemod/scripting/*.sp
        cp -R ../scripting/ addons/sourcemod/

        # get dependency libraries.
        git clone https://github.com/bcserv/smlib.git
        cp -R smlib/scripting/include/ addons/sourcemod/scripting/

        git clone https://github.com/Impact123/AutoExecConfig.git
        cp AutoExecConfig/autoexecconfig.inc addons/sourcemod/scripting/include/

        hg clone https://bitbucket.org/Drifter321/dhooks2
        cp dhooks2/sourcemod/scripting/include/dhooks.inc addons/sourcemod/scripting/include/

        git clone https://github.com/Drixevel/Chat-Processor.git
        cp Chat-Processor/scripting/include/chat-processor.inc addons/sourcemod/scripting/include/

        git clone https://bitbucket.org/minimoney1/simple-chat-processor.git
        cp simple-chat-processor/scripting/include/scp.inc addons/sourcemod/scripting/include/

        git clone https://github.com/KissLick/ColorVariables.git
        cp ColorVariables/addons/sourcemod/scripting/includes/colorvariables.inc addons/sourcemod/scripting/include/

        cd ..
fi

# setup the auto version file to have the git revision in the version convar.
# get the correct revision count
# https://github.com/travis-ci/travis-ci/issues/3412
git fetch --unshallow
fatal: --unshallow on a complete repository does not make sense
reyosh is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-24-2019 , 18:00   Re: SM:RPG compile problem
Reply With Quote #2

You don't need to run `git fetch --unshallow`, that is specific to the shallow clone's travis does by default.
__________________
asherkin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode