Giter Site home page Giter Site logo

cdep's Introduction

cdep

Classic Go dependency tool

Move the specified directory to one GOPATH.

$ tree -L 3
.(Here GOPATH !!!!!!)
├── README.md
├── cdep
├── cdep.conf
├── cdep.lock
├── pkg
│   └── darwin_amd64
│       ├── github.com
│       ├── golang.org
│       └── gopkg.in
└── src
    ├── github.com
    │   └── xxxx
    ├── golang.org
    │   └── yyyy
    └── gopkg.in
        └── zzzz

Vendor function is not used.

It is very simple. Look at the example project.

Example: https://github.com/fkei/stgoart

install

Currnet install directory.

$ bash <(curl -s https://raw.githubusercontent.com/fkei/cdep/develop/install) `pwd`

Select(/xxxx/yyyy) install directory.

$ bash <(curl -s https://raw.githubusercontent.com/fkei/cdep/develop/install) /xxxx/yyyy

Setup

Edit configure file. cdep.conf

Example file: https://github.com/fkei/stgoart/blob/master/cdep.conf

# scm service domain. github.com, gitlab.com, bitbucket.org, golang.org, gopkg.in ...
SERVICE="XXXXXXXXXX"

# scm service organization name.
ORGANIZATION="YYYYYYYYYY"

# scm repository name
REPOSITORY="ZZZZZZZZZZ"

Edit dependency package list file. cdep.lock

Example file: https://github.com/fkei/stgoart/blob/master/cdep.lock

Use

Install and Update

$ ./cdep install

Uninstall

$ ./cdep uninstall

Help

$ ./cdep help

cdep's People

Contributors

fkei avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.