8 Commits
7 changed files with 12 additions and 22 deletions
+1 -1
View File
@@ -1 +1 @@
1.0.9
1.0.11
+7 -13
View File
@@ -32,28 +32,22 @@ 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
diff - view changes to Go root
implode - completely remove gvm
install - install go versions
uninstall - uninstall go versions
list - list installed go versions
listall - list available versions
pkgset - manage go packages sets
pkg - manage go packages"
"
fi
fi
-6
View File
@@ -1,6 +0,0 @@
if [[ -f Makefile.gvm ]]; then
make -f Makefile.gvm $@
else
gb -bi
fi
+1 -1
View File
@@ -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!"
+1
View File
@@ -0,0 +1 @@
git://github.com/moovweb
+1
View File
@@ -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
+1 -1
View File
@@ -113,7 +113,7 @@ install_gpkg() {
install_gb() {
display_message " * Installing gb..."
$GVM_GOINSTALL github.com/skelterjohn/go-gb/gb > $GVM_ROOT/logs/$version-gb.log 2>&1
$GVM_GOINSTALL github.com/jbussdieker/go-gb/gb > $GVM_ROOT/logs/$version-gb.log 2>&1
if [[ $? -ne 0 ]]; then
echo "Failed to install gb"
return 1