chore(): travis to circleci

This commit is contained in:
Andrew Joslin
2014-06-03 07:37:51 -06:00
parent 264e092bf8
commit abd7bfa540
21 changed files with 400 additions and 253 deletions

22
scripts/clone/clone.sh Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
ARG_DEFS=(
"--repository=(.*)"
"--directory=(.*)"
"[--depth=(.*)]"
"[--branch=(.*)]"
)
function run {
rm -rf $DIRECTORY
mkdir -p $DIRECTORY
echo "-- Cloning $REPOSITORY#$BRANCH to $DIRECTORY..."
git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY \
--depth=${DEPTH:-1} \
--branch=${BRANCH:-master}
}
source $(dirname $0)/../utils.inc