tainacan-theme/build.sh

24 lines
521 B
Bash
Raw Normal View History

2018-01-19 17:06:56 +00:00
#!/bin/bash
source build-config.cfg
## Install composer dependencies
composer install
2018-01-19 17:06:56 +00:00
## Compile SASS
sh compile-sass.sh
echo "Updating files of theme"
2018-01-19 17:06:56 +00:00
rm -rf $destination
mkdir $destination
cp -R src/* $destination/
##Removendo o arquivo sass
2018-01-19 17:06:56 +00:00
rm -rf $destination/scss
##Bootstrap
2018-01-26 16:48:42 +00:00
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
echo "Finish!!"