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 | ||
|
|
6e8720de05 | ||
|
|
0cae267942 | ||
|
|
578436bb4e |
@@ -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
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
if [[ -f Makefile.gvm ]]; then
|
||||
make -f Makefile.gvm $@
|
||||
else
|
||||
gb -bi
|
||||
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
|
||||
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user