You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env bash |
|
|
|
RED='\033[0;31m' |
|
BLUE='\033[0,34m' |
|
NC='\033[0m' # No Color |
|
function info { |
|
printf "\r💬 ${BLUE}INFO:${NC} ${1}\n" |
|
} |
|
function fail { |
|
printf "\r🗯 ${RED}ERROR:${NC} ${1}\n" |
|
exit 1 |
|
} |
|
|
|
build_dir=$(dirname "$1") |
|
test -n "$build_dir" -a -d "$build_dir" || exit
|
|
|