Browse Source

Moved gameplay-deps to use github release attachements

seanpaultaylor 12 years ago
parent
commit
2ff443d046
2 changed files with 10 additions and 23 deletions
  1. 5 12
      install.bat
  2. 5 11
      install.sh

+ 5 - 12
install.bat

@@ -1,22 +1,15 @@
 @echo off
 REM
-REM install.bat [master | next]
+REM install.bat
 REM
-REM Download GamePlay resources from HTTP server and extract from ZIP
+REM Download GamePlay dependencies and binaries from github releases and extracts from ZIP
 REM
-REM Helps prevent repo bloat due to large binary files since they can
-REM be hosted separately.
+REM Helps prevent repo bloat due to large binary files
 REM
 
-REM Production URL
-set prefix=http://www.gameplay3d.org
+set prefix=https://github.com/blackberry/GamePlay/releases/download/v2.0.0
 
-set branchname=%1
-if "%branchname%" == "" (
-  set branchname=next
-)
-
-set filename=gameplay-deps-%branchname%
+set filename=gameplay-deps
 
 echo Downloading %filename%.zip from %prefix%
 %~d0

+ 5 - 11
install.sh

@@ -1,21 +1,15 @@
 #!/bin/bash
 #
-# ./install.sh [master | next]
+# ./install.sh
 #
-# Download GamePlay resources from HTTP server and extract from ZIP
+# Download GamePlay dependencies and binaries from github releases and extracts from ZIP
 #
-# Helps prevent repo bloat due to large binary files since they can
-# be hosted separately.
+# Helps prevent repo bloat due to large binary files
 #
 
-prefix=http://www.gameplay3d.org
+prefix=https://github.com/blackberry/GamePlay/releases/download/v2.0.0
 
-branchname=$1
-if [[ "$branchname" == "" ]]; then
-  branchname="next"
-fi
-
-filename=gameplay-deps-$branchname
+filename=gameplay-deps
 
 echo Downloading $filename.zip from $prefix...
 curl -# -O $prefix/$filename.zip