• Stars
    star
    780
  • Rank 58,299 (Top 2 %)
  • Language
    Go
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple dependency manager for Go (golang), inspired by Bundler.

Goop

Goopie

A dependency manager for Go (golang), inspired by Bundler. It is different from other dependency managers in that it does not force you to mess with your GOPATH.

Getting Started

  1. Install Goop: go get github.com/nitrous-io/goop

  2. Create Goopfile. Revision reference (e.g. Git SHA hash) is optional, but recommended. Prefix hash with #. (This is to futureproof the file format.)

    Example:

    github.com/mattn/go-sqlite3
    github.com/gorilla/context #14f550f51af52180c2eefed15e5fd18d63c0a64a
    github.com/dotcloud/docker/pkg/proxy #v1.0.1 // comment
    github.com/gorilla/mux [email protected]:nitrous-io/mux.git // override repo url
    
  3. Run goop install. This will install packages inside a subdirectory called .vendor and create Goopfile.lock, recording exact versions used for each package and its dependencies. Subsequent goop install runs will ignore Goopfile and install the versions specified in Goopfile.lock. You should check this file in to your source version control. It's a good idea to add .vendor to your version control system's ignore settings (e.g. .gitignore).

  4. Run commands using goop exec (e.g. goop exec make). This will execute your command in an environment that has correct GOPATH and PATH set.

  5. Go commands can be run without the exec keyword (e.g. goop go test).

Other commands

  • Run goop update to ignore an existing Goopfile.lock, and update to latest versions of packages (as specified in Goopfile).

  • Running eval $(goop env) will modify GOPATH and PATH in current shell session, allowing you to run commands without goop exec.

Caveat

Goop currently only supports Git and Mercurial. This should be fine for 99% of the cases, but you are more than welcome to make a pull request that adds support for Subversion and Bazaar.


Work on awesome golang projects, like Goop, at Nitrous.IO

Copyright (c) 2014 Irrational Industries, Inc. d.b.a. Nitrous.IO.
This software is licensed under the MIT License.

More Repositories

1

ConciseKit

A set of Objective-C additions and macros that helps you write code more quickly.
Objective-C
555
star
2

metamask-mobile

Port of MetaMask Ethereum Ðapp browser for mobile devices (iOS only for now)
JavaScript
134
star
3

factory-lady

a factory library for node.js / javascript inspired by factory_girl
JavaScript
119
star
4

wallet.ts

Utilities for cryptocurrency wallets, written in TypeScript
TypeScript
105
star
5

cipher-ethereum

A typed and fully-tested Ethereum library used by Cipher Browser, a mobile Ethereum wallet and Dapp browser
TypeScript
82
star
6

autoparts

package manager for nitrous.io
Ruby
81
star
7

socks

An easy-to-use web GUI toolkit for JavaScript, inspired by Shoes
65
star
8

ot.go

Operational Transformation backend written in Go compatible with ot.js
Go
36
star
9

underscore.objc

work in progress...
Objective-C
27
star
10

nitrogen-dist

Nitrogen: Atom, meet Cloud.
CSS
13
star
11

hterm

ChromiumOS hterm
JavaScript
9
star
12

ResetColorProfileAfterWake

Fix macOS bug that causes display color to get messed up after waking device from sleep
Objective-C
7
star
13

rubb

BBCode Parser for Ruby that supports nested BBCode tags.
Ruby
5
star
14

railscasts_xcode_color_theme

Railscasts Xcode color theme
5
star
15

dart-ethereum_address

A dart library to generate and validate Ethereum addresses
Dart
4
star
16

dotfiles

Vim Script
4
star
17

pubstorm-server

PubStorm API server
Go
3
star
18

usdc-l2-demo

USDC L2 Demo
TypeScript
3
star
19

tinymongo

Simple MongoDB wrapper
Ruby
2
star
20

ens-dnsname

Encode and decode DNS names for ENS using Golang
Go
2
star
21

skeleton

skeleton rails app for pairing interviews
Ruby
2
star
22

pubstorm-cli-go

PubStorm command line client
Go
1
star
23

go.vim

vim.go Vim plugins for Go (http://golang.org) - Extracted from Go official tarball.
1
star
24

rise-nginx

Lua
1
star
25

useful-ios-tidbits

a collection of useful ios code tidbits
Objective-C
1
star
26

fiat-token-gas-relay

TypeScript
1
star
27

petejkim.github.com

JavaScript
1
star
28

vim-colors-solarized-24bit-terminal

Vim Script
1
star
29

empty

1
star