-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run bower install before file removal so repo bower.json gets used
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|