Skip to content

Instantly share code, notes, and snippets.

@narajaon
Created February 6, 2020 22:24
Show Gist options
  • Select an option

  • Save narajaon/bd427ca86167bea574113884bc04659e to your computer and use it in GitHub Desktop.

Select an option

Save narajaon/bd427ca86167bea574113884bc04659e to your computer and use it in GitHub Desktop.
#!/usr/local/bin/bash
if [ $1 == "-f" ]
then
echo -e "$2: \e[92mbuild problem encountered\e[0m ❌"
exit 1
elif [ $1 == "-s" ]
then
echo -e "$2: \e[92mbuild successful\e[0m ✅"
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment