Skip to content

Instantly share code, notes, and snippets.

@danielecook
Created June 15, 2020 22:24
Show Gist options
  • Save danielecook/d84f93ed4edac757bdb8da4d13a9fa6c to your computer and use it in GitHub Desktop.
Save danielecook/d84f93ed4edac757bdb8da4d13a9fa6c to your computer and use it in GitHub Desktop.
pipeline setup script
#!/usr/bin/bash
error() {
>&2 echo -e "\n\t$(tput setaf 1)${1}$(tput sgr0)\n"
exit 1
}
msg() {
>&2 echo -e "$(tput setaf 3)${1}$(tput sgr0)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment