Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 752 Bytes

INSTALL.md

File metadata and controls

31 lines (22 loc) · 752 Bytes

Installation

Go package management is a mess right now. gopkg.in was a band-aid and worked well if dependencies were on the master branch or followed gopkg.in convention. The problem is and has always been how do you lock down to a specific commit or tag? That's where glide shines.

Pre-requisites

Install glide

Installing to $GOPATH

If you are not using glide in your project

cd $GOPATH/src
# remove dir if it exists
# rm -rf github.com/bcmi-labs/dat
git clone -b v1 https://github.com/mgutz/dat github.com/bcmi-labs/dat
cd github.com/bcmi-labs/dat
glide install

Existing Glide Project

If you are already using glide for your project

glide get github.com/bcmi-labs/dat