tainacan/build.sh

17 lines
308 B
Bash
Executable File

#!/bin/bash
#source build-config.cfg
source build-config.cfg
#destination=~/devel/wordpress/wp-content/plugins/tainacan
sh compile-sass.sh
npm run build
composer install
echo "Atualizando arquivos em $destination"
rm -rf $destination
mkdir $destination
cp -R src/* $destination/
rm -rf $destination/scss