#!/bin/bash source build-config.cfg ## Install composer dependencies composer install ## Compile SASS sh compile-sass.sh echo "Updating files of theme" rm -rf $destination mkdir $destination cp -R src/* $destination/ ##Removendo o arquivo sass rm -rf $destination/scss ##Bootstrap mkdir $destination/assets/vendor/bootstrap/css cp $destination/assets/vendor/bootstrap/scss/bootstrap.min.css $destination/assets/vendor/bootstrap/css/bootstrap.min.css rm -rf $destination/assets/vendor/bootstrap/scss ##Slick mkdir $destination/assets/vendor/slick/css cp $destination/assets/vendor/slick/scss/slick.min.css $destination/assets/vendor/slick/css/slick.min.css cp $destination/assets/vendor/slick/scss/slick-theme.min.css $destination/assets/vendor/slick/css/slick-theme.min.css mv $destination/assets/vendor/slick/ajax-loader.gif $destination/assets/vendor/slick/css/ajax-loader.gif mv $destination/assets/vendor/slick/fonts/ $destination/assets/vendor/slick/css/fonts/ rm -rf $destination/assets/vendor/slick/scss echo "Compilation Finish!!"