Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #locate the script in the themes folder
- cd docroot/themes/custom
- themes=$(find . -type d -maxdepth 1)
- for theme in "${themes[@]}"; do
- echo "Checking theme $theme\n"
- if [ ! -e "$theme/gulpfile.js" ];then
- cd $theme
- gulp build
- cd ..
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement