oliverdavies.uk-drupal-old/scripts/development/common.sh

15 lines
204 B
Bash
Raw Normal View History

2020-04-10 08:57:54 +00:00
#!/usr/bin/env bash
set -e
2020-04-10 09:10:54 +00:00
theme_path="web/themes/custom/opdavies"
2020-04-10 08:57:54 +00:00
function run_command {
title=$1
command=$2
echo -e "\e[32m$title\e[0m"
echo -e "\e[33mExecuting: \e[0m$command"
$command
}