Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hack/clean-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ pushd ${OS_ROOT}/assets > /dev/null
rm -rf bower_components/*
rm -rf node_components/*
rm -rf dist/*

if which bower > /dev/null 2>&1 ; then
# In case upstream components change things without incrementing versions
echo "Clearing bower cache..."
bower cache clean
bower cache clean --allow-root
else
echo "Skipping bower cache clean, bower not installed."
fi
Expand Down
4 changes: 2 additions & 2 deletions hack/install-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ pushd ${OS_ROOT}/assets > /dev/null
cmd "npm install"

# In case upstream components change things without incrementing versions
cmd "bower cache clean"
cmd "bower install"
cmd "bower cache clean --allow-root"
cmd "bower install --allow-root"
popd > /dev/null

pushd ${OS_ROOT}/Godeps/_workspace > /dev/null
Expand Down