diff --git a/.gitignore b/.gitignore index 69a23f49..8a318d79 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ tmp.sh test/ .idea/ packages/ +cmd/micro/vendor diff --git a/cmd/micro/Gopkg.lock b/cmd/micro/Gopkg.lock new file mode 100644 index 00000000..b08134ef --- /dev/null +++ b/cmd/micro/Gopkg.lock @@ -0,0 +1,123 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + branch = "master" + name = "github.com/blang/semver" + packages = ["."] + revision = "4a1e882c79dcf4ec00d2e29fac74b9c8938d5052" + +[[projects]] + branch = "master" + name = "github.com/dustin/go-humanize" + packages = ["."] + revision = "259d2a102b871d17f30e3cd9881a642961a1e486" + +[[projects]] + branch = "master" + name = "github.com/gdamore/encoding" + packages = ["."] + revision = "b23993cbb6353f0e6aa98d0ee318a34728f628b9" + +[[projects]] + branch = "master" + name = "github.com/go-errors/errors" + packages = ["."] + revision = "8fa88b06e5974e97fbf9899a7f86a344bfd1f105" + +[[projects]] + branch = "master" + name = "github.com/lucasb-eyer/go-colorful" + packages = ["."] + revision = "9c2852a141bf4711e4276f8f119c90d0f20a556c" + +[[projects]] + branch = "master" + name = "github.com/mattn/go-isatty" + packages = ["."] + revision = "fc9e8d8ef48496124e79ae0df75490096eccf6fe" + +[[projects]] + branch = "master" + name = "github.com/mattn/go-runewidth" + packages = ["."] + revision = "97311d9f7767e3d6f422ea06661bc2c7a19e8a5d" + +[[projects]] + branch = "master" + name = "github.com/mitchellh/go-homedir" + packages = ["."] + revision = "b8bc1bf767474819792c23f32d8286a45736f1c6" + +[[projects]] + branch = "master" + name = "github.com/sergi/go-diff" + packages = ["diffmatchpatch"] + revision = "feef008d51ad2b3778f85d387ccf91735543008d" + +[[projects]] + branch = "master" + name = "github.com/yuin/gopher-lua" + packages = [".","ast","parse","pm"] + revision = "b402f3114ec730d8bddb074a6c137309f561aa78" + +[[projects]] + branch = "master" + name = "github.com/zyedidia/clipboard" + packages = ["."] + revision = "adacf416cec40266b051e7bc096c52951f2725e9" + +[[projects]] + branch = "master" + name = "github.com/zyedidia/glob" + packages = ["."] + revision = "72567a468b2481490f359cdfb015231389e0bf9d" + +[[projects]] + branch = "master" + name = "github.com/zyedidia/json5" + packages = ["encoding/json5"] + revision = "2518f8beebde6814f2d30d566260480d2ded2f76" + +[[projects]] + branch = "master" + name = "github.com/zyedidia/tcell" + packages = [".","encoding"] + revision = "7095cc1c7f4173ae48314d80878e9985a0658889" + +[[projects]] + branch = "master" + name = "golang.org/x/net" + packages = ["context"] + revision = "007e530097ad7f954752df63046b4036f98ba6a6" + +[[projects]] + branch = "master" + name = "golang.org/x/sys" + packages = ["unix"] + revision = "d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03" + +[[projects]] + branch = "master" + name = "golang.org/x/text" + packages = ["encoding","encoding/charmap","encoding/internal","encoding/internal/identifier","encoding/japanese","encoding/korean","encoding/simplifiedchinese","encoding/traditionalchinese","internal/gen","transform","unicode/cldr"] + revision = "506f9d5c962f284575e88337e7d9296d27e729d3" + +[[projects]] + branch = "v2" + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "a83829b6f1293c91addabc89d0571c246397bbf4" + +[[projects]] + branch = "master" + name = "layeh.com/gopher-luar" + packages = ["."] + revision = "80196fe2abc5682963fc7a5261f5a5d77509938b" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "aebc6aa50d78830f86e8964c1ebc1804c1f9603477ddba606717a972ca70d261" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/cmd/micro/Gopkg.toml b/cmd/micro/Gopkg.toml new file mode 100644 index 00000000..f326ea93 --- /dev/null +++ b/cmd/micro/Gopkg.toml @@ -0,0 +1,123 @@ + +## Gopkg.toml example (these lines may be deleted) + +## "metadata" defines metadata about the project that could be used by other independent +## systems. The metadata defined here will be ignored by dep. +# [metadata] +# key1 = "value that convey data to other systems" +# system1-data = "value that is used by a system" +# system2-data = "value that is used by another system" + +## "required" lists a set of packages (not projects) that must be included in +## Gopkg.lock. This list is merged with the set of packages imported by the current +## project. Use it when your project needs a package it doesn't explicitly import - +## including "main" packages. +# required = ["github.com/user/thing/cmd/thing"] + +## "ignored" lists a set of packages (not projects) that are ignored when +## dep statically analyzes source code. Ignored packages can be in this project, +## or in a dependency. +# ignored = ["github.com/user/project/badpkg"] + +## Constraints are rules for how directly imported projects +## may be incorporated into the depgraph. They are respected by +## dep whether coming from the Gopkg.toml of the current project or a dependency. +# [[constraint]] +## Required: the root import path of the project being constrained. +# name = "github.com/user/project" +# +## Recommended: the version constraint to enforce for the project. +## Only one of "branch", "version" or "revision" can be specified. +# version = "1.0.0" +# branch = "master" +# revision = "abc123" +# +## Optional: an alternate location (URL or import path) for the project's source. +# source = "https://github.com/myfork/package.git" +# +## "metadata" defines metadata about the dependency or override that could be used +## by other independent systems. The metadata defined here will be ignored by dep. +# [metadata] +# key1 = "value that convey data to other systems" +# system1-data = "value that is used by a system" +# system2-data = "value that is used by another system" + +## Overrides have the same structure as [[constraint]], but supersede all +## [[constraint]] declarations from all projects. Only [[override]] from +## the current project's are applied. +## +## Overrides are a sledgehammer. Use them only as a last resort. +# [[override]] +## Required: the root import path of the project being constrained. +# name = "github.com/user/project" +# +## Optional: specifying a version constraint override will cause all other +## constraints on this project to be ignored; only the overridden constraint +## need be satisfied. +## Again, only one of "branch", "version" or "revision" can be specified. +# version = "1.0.0" +# branch = "master" +# revision = "abc123" +# +## Optional: specifying an alternate source location as an override will +## enforce that the alternate location is used for that project, regardless of +## what source location any dependent projects specify. +# source = "https://github.com/myfork/package.git" + + + +[[constraint]] + branch = "master" + name = "github.com/blang/semver" + +[[constraint]] + branch = "master" + name = "github.com/dustin/go-humanize" + +[[constraint]] + branch = "master" + name = "github.com/go-errors/errors" + +[[constraint]] + branch = "master" + name = "github.com/mattn/go-isatty" + +[[constraint]] + branch = "master" + name = "github.com/mattn/go-runewidth" + +[[constraint]] + branch = "master" + name = "github.com/mitchellh/go-homedir" + +[[constraint]] + branch = "master" + name = "github.com/sergi/go-diff" + +[[constraint]] + branch = "master" + name = "github.com/yuin/gopher-lua" + +[[constraint]] + branch = "master" + name = "github.com/zyedidia/clipboard" + +[[constraint]] + branch = "master" + name = "github.com/zyedidia/glob" + +[[constraint]] + branch = "master" + name = "github.com/zyedidia/json5" + +[[constraint]] + branch = "master" + name = "github.com/zyedidia/tcell" + +[[constraint]] + branch = "v2" + name = "gopkg.in/yaml.v2" + +[[constraint]] + branch = "master" + name = "layeh.com/gopher-luar"