aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/vendors/shared.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/vendors/shared.sh')
-rw-r--r--libraries/vendors/shared.sh48
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/vendors/shared.sh b/libraries/vendors/shared.sh
new file mode 100644
index 000000000..adf732081
--- /dev/null
+++ b/libraries/vendors/shared.sh
@@ -0,0 +1,48 @@
+#! /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"