Don't ship frameworks in repository, instead we download them.

This commit is contained in:
Cheng Zhao 2013-06-03 17:57:37 +08:00
parent bf409efc46
commit 600f38c94d
6 changed files with 101 additions and 0 deletions

21
script/update-frameworks Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
cd "$(dirname $0)/.."
. script/lib/polite-curl
[ -d frameworks ] || mkdir frameworks
cd frameworks
FRAMEWORKS_URL='https://gh-contractor-zcbenz.s3.amazonaws.com/frameworks'
trap 'rm *.zip' EXIT
echo 'Downloading Quincy...'
polite_curl "$FRAMEWORKS_URL/Quincy.framework.zip" > Quincy.framework.zip
echo 'Downloading Sparkle...'
polite_curl "$FRAMEWORKS_URL/Sparkle.framework.zip" > Sparkle.framework.zip
unzip Quincy.framework.zip
unzip Sparkle.framework.zip