#! /bin/bash # EMACS settings: -*- tab-width: 2; indent-tabs-mode: t -*- # vim: tabstop=2:shiftwidth=2:noexpandtab # kate: tab-width 2; replace-tabs off; indent-width 2; # # ============================================================================== # Bash Script: This is a Bash resource file. # # Authors: Patrick Lehmann # # Description: # ------------------------------------ # TODO # # ============================================================================== # Copyright (C) 2015 Patrick Lehmann # # GHDL is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2, or (at your option) any later # version. # # GHDL is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License # along with GHDL; see the file COPYING. If not, write to the Free # Software Foundation, 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # ============================================================================== ANSI_RED="\e[31m" ANSI_GREEN="\e[32m" ANSI_YELLOW="\e[33m" ANSI_BLUE="\e[34m" ANSI_MAGENTA="\e[35m" ANSI_CYAN="\e[36;1m" ANSI_RESET="\e[0m" # red texts COLORED_ERROR="$ANSI_RED[ERROR]$ANSI_RESET" COLORED_FAILED="$ANSI_RED[FAILED]$ANSI_RESET" # green texts COLORED_DONE="$ANSI_GREEN[DONE]$ANSI_RESET" COLORED_SUCCESSFUL="$ANSI_GREEN[SUCCESSFUL]$ANSI_RESET"