f4pga-examples/.github/scripts/common.sh
Robert Winkler a9ae44dea2 ci: Remove Travis config
Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-11-26 18:14:19 +01:00

19 lines
534 B
Bash

# Some colors, use it like following;
# echo -e "Hello ${YELLOW}yellow${NC}"
GRAY=' \033[0;30m'
RED=' \033[0;31m'
GREEN=' \033[0;32m'
YELLOW=' \033[0;33m'
PURPLE=' \033[0;35m'
NC='\033[0m' # No Color
SPACER="echo -e ${GRAY} - ${NC}"
function start_section() {
echo -e "${PURPLE}${1}${NC}: $2${NC}"
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
}
function end_section() {
echo -e "${GRAY}-------------------------------------------------------------------${NC}"
}