mirror of https://github.com/gogits/gogs.git
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.
Unknown
7326b09b3d
|
11 years ago | |
---|---|---|
cmd | 11 years ago | |
doc | 11 years ago | |
docs | 11 years ago | |
log | 11 years ago | |
.gitignore | 11 years ago | |
.gopmfile | 11 years ago | |
LICENSE | 11 years ago | |
README.md | 11 years ago | |
gopm.go | 11 years ago |
README.md
gopm - Go Package Manager
Gopm(Go Package Manager) is a Go package manage tool for search, install, update and share packages in Go.
Current Version: v0.5.5
Requirement
- Go Development Environment >= 1.1.
- Command
ln -s
support on Mac OS and Unix-like systems. - Command
mklink -j
support on Windows( Windows Vista and later ).
Installation
Because we do NOT offer binaries for now, so before you install the gopm, you should have already installed Go Development Environment with version 1.1 and later.
go get github.com/gpmgo/gopm
The executable will be produced under $GOPATH/bin
in your file system; for global use purpose, we recommand you to add this path into your PATH
environment variable.
Features
- No requirement for installing any version control system tool like
git
,svn
orhg
in order to download packages(although you have to install git for installing gopm thoughgo get
for now). - Download, install or build your packages with specific revisions.
- When build program with
gopm build
orgopm install
, everything just happen in its own GOPATH and do not bother anything you've done.
- Put your Go project on anywhere you want.
Commands
NAME:
gopm - Go Package Manager
USAGE:
gopm [global options] command [command options] [arguments...]
VERSION:
0.5.5.1111
COMMANDS:
get fetch remote package(s) and dependencies to local repository
gen generate a gopmfile according current go project
run link dependencies and go run
build link dependencies and go build
install link dependencies and go install
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--version print the version
--help, -h show help