Commit c46de15a authored by Christoph Häfner's avatar Christoph Häfner

Remove go-lang activator

parent f73e5214
#!/usr/bin/env bash
DIR=$HOME"/Development/go"
if [ -d "$DIR" ]; then
exit 0;
fi
# Logging stuff.
function m_header() { echo -e "\n\033[1m$@\033[0m"; }
function m_success() { echo -e " \033[1;32m✔\033[0m $@"; }
function m_error() { echo -e " \033[1;31m✖\033[0m $@"; }
function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install Go Development Environment"
sudo apt-get install -y golang golang-go.tools
m_success "Installed golang"
mkdir -p $DIR;
m_success "Created $DIR"
mkdir -p $DIR/bin $DIR/pkg $DIR/src;
m_success "Created dir-, pkg-, src-subdirs"
m_success "Successfully installed Go Development Environment"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment