point to .styl files instead of .less in Marketplace bundles (fixes marketplace-assets)

This commit is contained in:
Chris Van 2013-03-18 15:27:11 -07:00
Родитель dd402ab5d5
Коммит f3cda5ce96
2 изменённых файлов: 41 добавлений и 41 удалений

Просмотреть файл

@ -81,42 +81,42 @@ CSS = {
'css/devreg/files.less',
),
'mkt/splash': (
'css/mkt/splash.less',
'css/mkt/splash.styl',
),
'mkt/consumer': (
'css/mkt/reset.less',
'css/mkt/typography.less',
'css/mkt/site.less',
'css/mkt/banners.less',
'css/mkt/forms.less',
'css/mkt/header.less',
'css/mkt/account-links.less',
'css/mkt/buttons.less',
'css/mkt/tile.less',
'css/mkt/notification.less',
'css/mkt/detail.less',
'css/mkt/ratings.less',
'css/mkt/abuse.less',
'css/mkt/categories.less',
'css/mkt/menu.less',
'css/mkt/infobox.less',
'css/mkt/promo-grid.less',
'css/mkt/overlay.less',
'css/mkt/search.less',
'css/mkt/paginator.less',
'css/mkt/suggestions.less',
'css/mkt/account.less',
'css/mkt/login.less',
'css/mkt/purchase.less',
'css/mkt/lightbox.less',
'css/mkt/filters.less',
'css/mkt/reset.styl',
'css/mkt/typography.styl',
'css/mkt/site.styl',
'css/mkt/banners.styl',
'css/mkt/forms.styl',
'css/mkt/header.styl',
'css/mkt/account-links.styl',
'css/mkt/buttons.styl',
'css/mkt/tile.styl',
'css/mkt/notification.styl',
'css/mkt/detail.styl',
'css/mkt/ratings.styl',
'css/mkt/abuse.styl',
'css/mkt/categories.styl',
'css/mkt/menu.styl',
'css/mkt/infobox.styl',
'css/mkt/promo-grid.styl',
'css/mkt/overlay.styl',
'css/mkt/search.styl',
'css/mkt/paginator.styl',
'css/mkt/suggestions.styl',
'css/mkt/account.styl',
'css/mkt/login.styl',
'css/mkt/purchase.styl',
'css/mkt/lightbox.styl',
'css/mkt/filters.styl',
),
'mkt/offline': (
'css/mkt/reset.less',
'css/mkt/site.less',
'css/mkt/header.less',
'css/mkt/buttons.less',
'css/mkt/offline.less',
'css/mkt/reset.styl',
'css/mkt/site.styl',
'css/mkt/header.styl',
'css/mkt/buttons.styl',
'css/mkt/offline.styl',
),
'mkt/ecosystem': (
'css/devreg/reset.less',
@ -154,14 +154,14 @@ CSS = {
CSS.update({
'mkt/consumer-desktop': CSS['mkt/consumer'] + (
# TODO: Split components into individual, appropriate stylesheets.
'css/mkt/desktop.less',
'css/mkt/desktop-tile.less',
'css/mkt/desktop-filters.less',
'css/mkt/desktop-forms.less',
'css/mkt/desktop-account.less',
'css/mkt/desktop-listing.less',
'css/mkt/desktop-details.less',
'css/mkt/desktop-ratings.less',
'css/mkt/desktop.styl',
'css/mkt/desktop-tile.styl',
'css/mkt/desktop-filters.styl',
'css/mkt/desktop-forms.styl',
'css/mkt/desktop-account.styl',
'css/mkt/desktop-listing.styl',
'css/mkt/desktop-details.styl',
'css/mkt/desktop-ratings.styl',
),
})

Просмотреть файл

@ -15,7 +15,7 @@ fi
SETTINGS=$1
# Delete old artifacts.
find . -name '*.pyc' -or -name '*less.css' -or -name '*-min.css'-or -name '*-all.css' -or -name '*-min.js' -or -name '*-all.js' -delete
find . -name '*.pyc' -or -name '*.less.css' -or -name '*.styl.css' -or -name '*-min.css'-or -name '*-all.css' -or -name '*-min.js' -or -name '*-all.js' | xargs rm
if [ ! -d "$VENV/bin" ]; then
echo "No virtualenv found. Making one..."