From 6956cc80516f1dfc74a06a75b068437afba036ed Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 3 Dec 2015 04:48:15 +0100 Subject: Add vendor specific library compile scripts for linux. Merge branch from Paebbels. --- libraries/vendors/shared.sh | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libraries/vendors/shared.sh (limited to 'libraries/vendors/shared.sh') 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" -- cgit v1.2.3