Browse Source

Moving gameplay-deps to use github release attachments.

seanpaultaylor 12 years ago
parent
commit
bbe3329644
2 changed files with 8 additions and 19 deletions
  1. 4 10
      install.bat
  2. 4 9
      install.sh

+ 4 - 10
install.bat

@@ -1,22 +1,16 @@
 @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 external dependencies and binaries and extract from ZIP
 REM
 REM Helps prevent repo bloat due to large binary files since they can
 REM be hosted separately.
 REM
 
-REM Production URL
-set prefix=http://www.gameplay3d.org
+set prefix=https://github.com/blackberry/GamePlay/releases/download/v1.7.0
 
-set branchname=%1
-if "%branchname%" == "" (
-  set branchname=master
-)
-
-set filename=gameplay-deps-%branchname%
+set filename=gameplay-deps
 
 echo Downloading %filename%.zip from %prefix%
 %~d0

+ 4 - 9
install.sh

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