mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-10 05:16:13 +10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0e3956030 | ||
|
|
e3246cef0d | ||
|
|
4359f5252f | ||
|
|
e8076a83fb | ||
|
|
bc1fc149f3 |
@@ -32,20 +32,12 @@ else
|
||||
elif [[ -n $command ]]; then
|
||||
display_error "Unrecognized command line argument: '$command'"
|
||||
else
|
||||
echo "= gvm
|
||||
echo "Usage: gvm [command]
|
||||
|
||||
* http://github.com/moovweb/gvm
|
||||
|
||||
== DESCRIPTION:
|
||||
|
||||
GVM is the Go Version Manager
|
||||
|
||||
== Usage
|
||||
|
||||
gvm Command
|
||||
|
||||
== Command
|
||||
Description:
|
||||
GVM is the Go Version Manager
|
||||
|
||||
Commands:
|
||||
version - print the gvm version number
|
||||
get - gets the latest code (for debugging)
|
||||
use - select a go version to use
|
||||
@@ -55,6 +47,7 @@ GVM is the Go Version Manager
|
||||
uninstall - uninstall go versions
|
||||
list - list installed go versions
|
||||
listall - list available versions
|
||||
pkgset - manage go packages sets"
|
||||
pkgset - manage go packages sets
|
||||
"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -25,7 +25,7 @@ else
|
||||
GVM_NAME="gvm"
|
||||
fi
|
||||
|
||||
SRC_REPO=git://github.com/moovweb/gvm.git
|
||||
SRC_REPO=https://github.com/moovweb/gvm.git
|
||||
|
||||
[ "$GVM_DEST" == "" ] && display_error "No destination specified!"
|
||||
[ -d $GVM_DEST/$GVM_NAME ] && display_error "Already installed!"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
git://github.com/moovweb
|
||||
Vendored
+1
@@ -24,6 +24,7 @@ function gvm_pkgset_use() {
|
||||
fuzzy_match=`ls $GVM_ROOT/environments | sort | grep "$gvm_go_name@" | grep "$1" | head -n 1` ||
|
||||
display_error "Invalid package set" || return 1
|
||||
|
||||
export PATH=$GVM_PATH_BACKUP
|
||||
. "$GVM_ROOT/environments/$fuzzy_match" ||
|
||||
display_error "Failed to source the package set environment" || return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user