Skip to content

Commit

Permalink
Run bower install before file removal so repo bower.json gets used
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed May 23, 2014
1 parent 7576c53 commit d19f626
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 @@ -16,13 +16,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 master.
bower install --config.directory="components" $org/$repo#master

# 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 d19f626

Please sign in to comment.