You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Lunny Xiao 4bdcfef6d8 add document and some improved 11 years ago
cmd add document and some improved 11 years ago
doc add support for child package build 11 years ago
docs improved doc 11 years ago
.gitignore add document and some improved 11 years ago
.gopmfile add support for child package build 11 years ago
LICENSE Fixed license and readme 11 years ago
README.md add document and some improved 11 years ago
gopm.go add document and some improved 11 years ago

README.md

gopm - Go Package Manager

GPMGo_Logo

gopm(Go Package Manager) is a Go package manage tool for search, install, update and share packages in Go.

Attention This application still in experiment, we'are working on new break version, you may use old version for now.

Requirement

Currently, gopm use soft syb link

INSTALL

You should install Go and Go tool before install gopm currently.

go get github.com/gpmgo/gopm

This will install gopm on $GOPATH$/bin。Before using gopm, you should add this to $PATH.

Features

  • Don't need to install git, svn, hg etct. for installing packages.
  • Package has version
  • Every project has owner GOPATH
  • Put your Go project on anywhere you want

Commands

  1. Show the command help
gopm help
  1. Show gopm version
gopm version
  1. Get a package
gopm get github.com/gpmgo/gopm
  1. Search a package
gopm search gopm
  1. Build a project, the build's arguments are the same as go build. But it will check all the dependencies and dowload them.
<change to project directory>
gopm build
  1. Run a go file
<change to project directory>
gopm run main.go
  1. Install
<change to project directory>
gopm install