Skip to content

Instantly share code, notes, and snippets.

View becka11y's full-sized avatar

Becky Gibson becka11y

  • WebA11y.com
  • New Hampsire, USA
View GitHub Profile
@becka11y
becka11y / createCordovaJS.make
Created March 1, 2012 20:25
Build Phase for Cordova Library based xcode project
# get the CordovaLib version
CDVER=`head -1 "${CORDOVALIB}/VERSION"`
SRC1="${CORDOVALIB}/javascripts/cordova-${CDVER}.js"
TARGET="${PROJECT_DIR}/www"
# compile and copy CordovaLib
make -C "${CORDOVALIB}"
cp "${SRC1}" "${TARGET}"
@becka11y
becka11y / create_project.sh
Created March 1, 2012 20:16
shell script to create Cordova xcode project using Libary version of Cordova
#!/bin/bash
# ############################################################################
#
# MIT licensed
# http://www.opensource.org/licenses/mit-license.php
#
# Script to create a new PhoneGap project from the PhoneGap Template.
# You need to install PhoneGapLib first (through the installer)
# before this script can work.