Skip to content

Commit

Permalink
Merge pull request #23 from Polymer/reorder
Browse files Browse the repository at this point in the history
Run bower install before file removal so repo bower.json gets used
  • Loading branch information
dfreedm committed May 29, 2014
2 parents 81bad5c + d19f626 commit 7b7da4f
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 @@ -17,13 +17,13 @@ git clone [email protected]:$org/$repo.git --single-branch
pushd $repo >/dev/null
git checkout --orphan gh-pages

# remove all content
git rm -rf -q .

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

# remove all content
git rm -rf -q .

# redirect by default to the component folder
echo "<META http-equiv="refresh" content=\"0;URL=components/$repo/\">" >index.html

Expand Down

0 comments on commit 7b7da4f

Please sign in to comment.