Skip to content

Instantly share code, notes, and snippets.

@byplayer
Forked from muratayusuke/buildxcodeplugins.sh
Last active January 3, 2016 07:28
Show Gist options
  • Save byplayer/8429281 to your computer and use it in GitHub Desktop.
Save byplayer/8429281 to your computer and use it in GitHub Desktop.
#!/bin/bash
function install(){
REPO=$1
DIR=$2
TARGET=$3
BUILD_DIR=~/buildxcodeplugins/work
mkdir -p ${BUILD_DIR}
rm -rf ${BUILD_DIR}/*
pushd ${BUILD_DIR}
git clone ${REPO}
xcodebuild -project ${BUILD_DIR}/${DIR}/${TARGET}.xcodeproj -configuration Release clean build
popd
}
install https://github.com/questbeat/Lin-Xcode5.git Lin-Xcode5 Lin
install https://github.com/ksuther/KSImageNamed-Xcode.git KSImageNamed-Xcode KSImageNamed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment