aboutsummaryrefslogtreecommitdiff
path: root/beku.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2018-06-03 17:06:30 +0700
committerShulhan <ms@kilabit.info>2018-06-03 23:51:33 +0700
commitb30109159d464ba022608d6f566cfc61bc1c8b26 (patch)
tree56855c8483f97ccbca7ed8eaa4c138eacd93652e /beku.go
parentccbdc4ab14f8c1ffcf369e157502dcb38d4fc90b (diff)
downloadbeku-b30109159d464ba022608d6f566cfc61bc1c8b26.tar.xz
NewPackage(): use golang tools/go/vcs to get remote URL
This will allow beku to handle custom import URL.
Diffstat (limited to 'beku.go')
-rw-r--r--beku.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/beku.go b/beku.go
index 2cb6514..2330c22 100644
--- a/beku.go
+++ b/beku.go
@@ -60,6 +60,7 @@ var (
errDBPackageName = "missing package name, line %d at %s"
errDirNotEmpty = "directory %s is not empty"
errExcluded = "Package '%s' is in excluded list\n"
+ errVCS = "Unknown VCS mode %s"
)
var (