This script shows how you can print out various things in color from BASH script.
#!/bin/bash
NORMAL=$(tput sgr0)
GREEN=$(tput setaf 2; tput bold)
YELLOW=$(tput setaf 3)| #Put HomeBrew stuff before system path | |
| PATH=/usr/local/bin:$PATH | |
| export PATH | |
| # set java home to a particular version | |
| #export JAVA_HOME=$(/usr/libexec/java_home -v 1.7) | |
| # homebrew: Scala IDEA support | |
| SCALA_HOME=/usr/local/opt/scala/idea |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.airhacks</groupId> | |
| <artifactId>javaee7-essentials-pom</artifactId> | |
| <version>7.0</version> | |
| <packaging>war</packaging> | |
| <dependencies> |
I hereby claim:
To claim this, I am signing this object: