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 || {
|
2020-12-23 20:56:08 +00:00
|
|
|
echo >&2 "Sass parece não estar disponivel.";
|
2017-10-20 14:30:04 +00:00
|
|
|
exit 1;
|
|
|
|
}
|
2021-03-29 05:50:31 +00:00
|
|
|
|
2017-10-20 14:30:04 +00:00
|
|
|
echo "Compilando Sass..."
|
2017-11-06 14:02:51 +00:00
|
|
|
|
2020-01-14 13:58:33 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-1 src/views/admin/scss/tainacan-admin.scss:src/assets/css/tainacan-admin.css
|
2018-10-01 20:32:32 +00:00
|
|
|
|
2020-01-14 13:58:33 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-2 src/views/roles/tainacan-roles.scss:src/assets/css/tainacan-roles.css
|
2018-01-19 13:33:24 +00:00
|
|
|
|
2021-03-04 18:17:34 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-3 src/views/reports/tainacan-reports.scss:src/assets/css/tainacan-reports.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-4 src/views/mobile-app/tainacan-mobile-app.scss:src/assets/css/tainacan-mobile-app.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-5 src/views/gutenberg-blocks/blocks/item-gallery/style.scss:src/assets/css/tainacan-gutenberg-block-item-gallery.css
|
2019-05-09 19:55:47 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-6 src/views/gutenberg-blocks/blocks/collections-list/style.scss:src/assets/css/tainacan-gutenberg-block-collections-list.css
|
2019-07-26 19:38:52 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-7 src/views/gutenberg-blocks/blocks/carousel-collections-list/style.scss:src/assets/css/tainacan-gutenberg-block-carousel-collections-list.css
|
2018-01-19 13:33:24 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-8 src/views/gutenberg-blocks/blocks/items-list/style.scss:src/assets/css/tainacan-gutenberg-block-items-list.css
|
2019-08-14 13:11:18 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-9 src/views/gutenberg-blocks/blocks/dynamic-items-list/style.scss:src/assets/css/tainacan-gutenberg-block-dynamic-items-list.css
|
2019-08-22 14:48:34 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-10 src/views/gutenberg-blocks/blocks/search-bar/style.scss:src/assets/css/tainacan-gutenberg-block-search-bar.css
|
2019-08-22 14:48:34 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-11 src/views/gutenberg-blocks/blocks/carousel-items-list/style.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
|
2021-04-26 17:33:49 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-13 src/views/gutenberg-blocks/blocks/carousel-items-list/style.scss:src/assets/css/tainacan-gutenberg-block-carousel-items-list.css
|
2019-05-29 18:40:56 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-14 src/views/gutenberg-blocks/blocks/terms-list/style.scss:src/assets/css/tainacan-gutenberg-block-terms-list.css
|
2019-09-30 19:51:24 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-15 src/views/gutenberg-blocks/blocks/facets-list/style.scss:src/assets/css/tainacan-gutenberg-block-facets-list.css
|
2020-02-18 18:39:33 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-16 src/views/gutenberg-blocks/blocks/carousel-terms-list/style.scss:src/assets/css/tainacan-gutenberg-block-carousel-terms-list.css
|
2020-05-28 14:47:33 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-17 src/views/gutenberg-blocks/blocks/faceted-search/style.scss:src/assets/css/tainacan-gutenberg-block-faceted-search.css
|
2021-02-15 12:19:47 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-18 src/views/gutenberg-blocks/blocks/item-submission-form/style.scss:src/assets/css/tainacan-gutenberg-block-item-submission-form.css
|
2021-06-14 19:46:31 +00:00
|
|
|
|
2022-07-04 19:30:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-19 src/views/gutenberg-blocks/blocks/related-items-list/style.scss:src/assets/css/tainacan-gutenberg-block-related-items-list.css
|
2021-10-05 14:37:25 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-20 src/views/gutenberg-blocks/blocks/item-metadata/style.scss:src/assets/css/tainacan-gutenberg-block-item-metadata.css
|
2022-07-04 19:30:32 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-21 src/views/gutenberg-blocks/blocks/item-metadata-section/style.scss:src/assets/css/tainacan-gutenberg-block-item-metadata-section.css
|
2022-09-23 15:09:05 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-22 src/views/gutenberg-blocks/blocks/item-metadata-sections/style.scss:src/assets/css/tainacan-gutenberg-block-item-metadata-sections.css
|
2022-09-23 15:09:05 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-23 src/views/gutenberg-blocks/blocks/item-metadatum/style.scss:src/assets/css/tainacan-gutenberg-block-item-metadatum.css
|
2022-09-23 15:09:05 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-24 src/views/gutenberg-blocks/blocks/geocoordinate-item-metadatum/style.scss:src/assets/css/tainacan-gutenberg-block-geocoordinate-item-metadatum.css
|
2022-09-23 15:09:05 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-25 src/views/gutenberg-blocks/blocks/metadata-section-name/style.scss:src/assets/css/tainacan-gutenberg-block-metadata-section-name.css
|
2022-09-23 15:09:05 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-26 src/views/gutenberg-blocks/blocks/metadata-section-description/style.scss:src/assets/css/tainacan-gutenberg-block-metadata-section-description.css
|
2022-09-23 18:41:31 +00:00
|
|
|
|
2022-12-21 12:55:32 +00:00
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-27 src/views/gutenberg-blocks/scss/gutenberg-blocks-editor-style.scss:src/assets/css/tainacan-gutenberg-block-common-editor-styles.css
|
|
|
|
|
|
|
|
sass -E 'UTF-8' --cache-location .tmp/sass-cache-28 src/views/gutenberg-blocks/scss/gutenberg-blocks-theme-style.scss:src/assets/css/tainacan-gutenberg-block-common-theme-styles.css
|
2020-04-03 12:14:30 +00:00
|
|
|
|
2017-10-20 14:30:04 +00:00
|
|
|
echo "Compilação do Sass Concluído!"
|
|
|
|
exit 0
|