aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Gopkg.lock9
-rw-r--r--git-bug.go7
-rw-r--r--vendor/github.com/theckman/goconstraint/LICENSE9
-rw-r--r--vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt24
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go8
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go7
6 files changed, 63 insertions, 1 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
index faa1e3f2..19f4b2ee 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -321,6 +321,14 @@
version = "v1.2.2"
[[projects]]
+ digest = "1:0ec412b28282c10ac6ce56039120741bb738814e4874d23c15fdff37f6aa7a62"
+ name = "github.com/theckman/goconstraint"
+ packages = ["go1.8/gte"]
+ pruneopts = "UT"
+ revision = "93babf24513d0e8277635da8169fcc5a46ae3f6a"
+ version = "v1.11.0"
+
+[[projects]]
digest = "1:b24d38b282bacf9791408a080f606370efa3d364e4b5fd9ba0f7b87786d3b679"
name = "github.com/urfave/cli"
packages = ["."]
@@ -471,6 +479,7 @@
"github.com/spf13/cobra/doc",
"github.com/stretchr/testify/assert",
"github.com/stretchr/testify/require",
+ "github.com/theckman/goconstraint/go1.8/gte",
"github.com/vektah/gqlgen/client",
"github.com/vektah/gqlparser",
"github.com/vektah/gqlparser/ast",
diff --git a/git-bug.go b/git-bug.go
index 7a1a2ad4..c3a942e1 100644
--- a/git-bug.go
+++ b/git-bug.go
@@ -5,7 +5,12 @@
package main
-import "github.com/MichaelMure/git-bug/commands"
+import (
+ "github.com/MichaelMure/git-bug/commands"
+
+ // minimal go version is 1.8
+ _ "github.com/theckman/goconstraint/go1.8/gte"
+)
func main() {
commands.Execute()
diff --git a/vendor/github.com/theckman/goconstraint/LICENSE b/vendor/github.com/theckman/goconstraint/LICENSE
new file mode 100644
index 00000000..9403d859
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/LICENSE
@@ -0,0 +1,9 @@
+This package is released under two software licenses (MIT | Public Domain):
+
+* The `scripts/` directory is released under the MIT License. This license can
+ be found in the `LICENSES` directory as mit.txt [1].
+* All other files are released to the Public Domain using The Unlicense . This
+ license can be found in the `LICENSES` directory as unlicense.txt [2].
+
+[1] https://github.com/theckman/goconstraint/blob/master/LICENSES/mit.txt
+[2] https://github.com/theckman/goconstraint/blob/master/LICENSES/unlicense.txt
diff --git a/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt b/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt
new file mode 100644
index 00000000..fdddb29a
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <https://unlicense.org>
diff --git a/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go b/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
new file mode 100644
index 00000000..24c248d6
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
@@ -0,0 +1,8 @@
+// The contents of this file has been released in to the Public Domain.
+
+// Package gtego18 should only be used as a blank import. If imported, it
+// will only compile if the Go runtime version is >= 1.8.
+package gtego18
+
+// This will fail to compile if the Go runtime version isn't >= 1.8.
+var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_8__
diff --git a/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go b/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go
new file mode 100644
index 00000000..777fea4d
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go
@@ -0,0 +1,7 @@
+// The contents of this file has been released in to the Public Domain.
+
+// +build go1.8
+
+package gtego18
+
+const __SOFTWARE_REQUIRES_GO_VERSION_1_8__ = uint8(0)