Skip to content

Commit

Permalink
Added some comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick committed May 27, 2014
1 parent 2d43f41 commit d6f2d77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/gp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
# This script pushes a demo-friendly version of your element and its
# dependencies to gh-pages.

# usage gp Polymer core-item
# usage gp Polymer core-item [branch]
# Run in a clean directory passing in a GitHub org and repo name
org=$1
repo=$2
branch=$3
: ${branch:="master"}
: ${branch:="master"} # default to master when branch isn't specified

# make folder (same as input, no checking!)
mkdir $repo
Expand All @@ -22,7 +22,7 @@ git checkout --orphan gh-pages
git rm -rf -q .

# use bower to install runtime deployment
bower cache clean $repo # ensure we're getting the latest from master.
bower cache clean $repo # ensure we're getting the latest from the desired branch.
bower install --config.directory="components" $org/$repo#$branch

# redirect by default to the component folder
Expand Down

0 comments on commit d6f2d77

Please sign in to comment.