Move project to git-submodules

This commit is contained in:
a1batross
2015-09-06 12:45:59 +03:00
parent f0fd46bb60
commit e8d98a5d71
9 changed files with 26 additions and 13 deletions

7
.gitignore vendored
View File

@@ -3,13 +3,6 @@ obj
bin
gen
jni/src/HLSDK/halflife
jni/src/NanoGL/nanogl
jni/src/SDL2/SDL-mirrir
jni/src/Xash3D/xash3d
jni/src/XashXT/XashXT
jni/src/MobileTouchControls/MobileTouchControls
local.properties
res/values/git-rev.xml

18
.gitmodules vendored Normal file
View File

@@ -0,0 +1,18 @@
[submodule "jni/src/HLSDK/halflife"]
path = jni/src/HLSDK/halflife
url = https://github.com/SDLash3D/halflife
[submodule "jni/src/MobileTouchControls/MobileTouchControls"]
path = jni/src/MobileTouchControls/MobileTouchControls
url = https://github.com/SDLash3D/MobileTouchControls
[submodule "jni/src/NanoGL/nanogl"]
path = jni/src/NanoGL/nanogl
url = https://github.com/SDLash3D/nanogl
[submodule "jni/src/SDL2/SDL-mirror"]
path = jni/src/SDL2/SDL-mirror
url = https://github.com/mittorn/SDL-mirror
[submodule "jni/src/Xash3D/xash3d"]
path = jni/src/Xash3D/xash3d
url = https://github.com/SDLash3D/xash3d
[submodule "jni/src/XashXT/XashXT"]
path = jni/src/XashXT/XashXT
url = https://github.com/SDLash3D/XashXT

View File

@@ -16,12 +16,8 @@ before_install:
- chmod +x android-ndk-r10e-linux-x86_64.bin && ./android-ndk-r10e-linux-x86_64.bin > /dev/null
- mv android-ndk-r10e android-ndk
- export PATH=`pwd`/android-ndk:`pwd`/android-sdk-linux/tools:`pwd`/android-sdk-linux/platform-tools:$PATH
- git clone -q --depth=1 https://github.com/SDLash3D/xash3d jni/src/Xash3D/xash3d
- git clone -q --depth=1 https://github.com/SDLash3D/halflife jni/src/HLSDK/halflife
- git clone -q --depth=1 https://github.com/SDLash3D/MobileTouchControls jni/src/MobileTouchControls/MobileTouchControls
- git clone -q --depth=1 https://github.com/SDLash3D/nanogl jni/src/NanoGL/nanogl
- git clone -q --depth=1 https://github.com/SDLash3D/XashXT jni/src/XashXT/XashXT
- git clone -q --depth=1 https://github.com/mittorn/SDL-mirror jni/src/SDL2/SDL-mirror
- git submodule init
- git submodule update
- sed -i -- s/android-8/android-15/g project.properties
script:
- sh gen-version.sh travis build

1
jni/src/NanoGL/nanogl Submodule

Submodule jni/src/NanoGL/nanogl added at 5ea04e4036

1
jni/src/Xash3D/xash3d Submodule

Submodule jni/src/Xash3D/xash3d added at cb6992d29a

1
jni/src/XashXT/XashXT Submodule

Submodule jni/src/XashXT/XashXT added at ddd34947fb