2017-10-20 14:30:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# Executa o comando 'sass' para verificar se existe (veja http://stackoverflow.com/a/677212/329911)
|
|
|
|
command -v sass >/dev/null 2>&1 || {
|
|
|
|
echo >&2 "SASS parece não está disponivel.";
|
|
|
|
exit 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Define o caminho.
|
|
|
|
echo "Compilando Sass..."
|
2017-11-06 14:02:51 +00:00
|
|
|
|
2018-10-01 20:32:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-1 src/scss/tainacan-embeds.scss:src/assets/css/tainacan-embeds.css
|
|
|
|
|
2020-01-13 20:03:19 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/front/admin/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
|
2018-01-19 13:33:24 +00:00
|
|
|
|
2020-01-13 20:03:19 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/front/roles/tainacan-roles.scss:src/assets/css/tainacan-roles.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-4 src/front/gutenberg-blocks/tainacan-collections/collections-list/collections-list.scss:src/assets/css/tainacan-gutenberg-block-collections-list.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-5 src/front/gutenberg-blocks/tainacan-collections/carousel-collections-list/carousel-collections-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-collections-list.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-6 src/front/gutenberg-blocks/tainacan-items/items-list/items-list.scss:src/assets/css/tainacan-gutenberg-block-items-list.css
|
2019-07-26 19:38:52 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-7 src/front/gutenberg-blocks/tainacan-items/dynamic-items-list/dynamic-items-list.scss:src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css
|
2018-01-19 13:33:24 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-8 src/front/gutenberg-blocks/tainacan-items/search-bar/search-bar.scss:src/assets/css/tainacan-gutenberg-block-search-bar.css
|
2019-08-14 13:11:18 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-9 src/front/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
|
2019-08-22 14:48:34 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-10 src/front/gutenberg-blocks/tainacan-items/carousel-items-list/carousel-items-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
|
2019-08-22 14:48:34 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-11 src/front/gutenberg-blocks/tainacan-terms/terms-list/terms-list.scss:src/assets/css/tainacan-gutenberg-block-terms-list.css
|
2019-05-29 18:40:56 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-12 src/front/gutenberg-blocks/tainacan-facets/facets-list/facets-list.scss:src/assets/css/tainacan-gutenberg-block-facets-list.css
|
2019-11-19 15:46:38 +00:00
|
|
|
|
2020-01-13 19:06:15 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-13 src/front/gutenberg-blocks/tainacan-terms/carousel-terms-list/carousel-terms-list.scss:src/assets/css/tainacan-gutenberg-block-carousel-terms-list.css
|
2019-09-30 19:51:24 +00:00
|
|
|
|
2017-10-20 14:30:04 +00:00
|
|
|
echo "Compilação do Sass Concluído!"
|
|
|
|
exit 0
|