├── .dockerignore ├── .github └── workflows │ ├── main.yml │ └── review.yml ├── .gitignore ├── .golangci.yml ├── .reviewdog.yml ├── LICENSE ├── Makefile ├── README.md ├── cmd └── gex │ ├── errors_go112.go │ ├── errors_go113.go │ └── main.go ├── config.go ├── go.mod ├── go.sum ├── pkg ├── manager │ ├── dep │ │ └── manager.go │ ├── executor.go │ ├── manager.go │ ├── mod │ │ └── manager.go │ ├── type.go │ └── type_test.go └── tool │ ├── .snapshots │ ├── TestWriter_Write-dep-tools.go │ └── TestWriter_Write-mod-tools.go │ ├── config.go │ ├── errors.go │ ├── manifest.go │ ├── parser.go │ ├── parser_test.go │ ├── repository.go │ ├── tool.go │ ├── writer.go │ └── writer_test.go ├── tests └── e2e │ ├── .snapshots │ ├── TestGex_Dep-add_2_tools-tools.go │ ├── TestGex_Dep-add_a_tool_that_has_already_been_added-tools.go │ ├── TestGex_Dep-add_first_tool-tools.go │ ├── TestGex_Dep-add_tools_included_in_the_same_package-tools.go │ ├── TestGex_Dep-add_tools_that_its_root_proejct_has_been_added-tools.go │ ├── TestGex_Dep-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go │ ├── TestGex_Dep-add_tools_with_version_specification-tools.go │ ├── TestGex_Mod-add_2_tools-tools.go │ ├── TestGex_Mod-add_a_tool_that_has_already_been_added-tools.go │ ├── TestGex_Mod-add_first_tool-tools.go │ ├── TestGex_Mod-add_tools_included_in_the_same_package-tools.go │ ├── TestGex_Mod-add_tools_that_its_root_proejct_has_been_added-tools.go │ ├── TestGex_Mod-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go │ └── TestGex_Mod-add_tools_with_version_specification-tools.go │ ├── Dockerfile │ ├── go.mod │ ├── go.sum │ ├── main_test.go │ ├── test_context.go │ ├── test_mode.go │ ├── test_writer.go │ └── testdata │ └── main.go └── version.go /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.github/workflows/review.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/.github/workflows/review.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/.golangci.yml -------------------------------------------------------------------------------- /.reviewdog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/.reviewdog.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/README.md -------------------------------------------------------------------------------- /cmd/gex/errors_go112.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/cmd/gex/errors_go112.go -------------------------------------------------------------------------------- /cmd/gex/errors_go113.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/cmd/gex/errors_go113.go -------------------------------------------------------------------------------- /cmd/gex/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/cmd/gex/main.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/config.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/manager/dep/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/dep/manager.go -------------------------------------------------------------------------------- /pkg/manager/executor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/executor.go -------------------------------------------------------------------------------- /pkg/manager/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/manager.go -------------------------------------------------------------------------------- /pkg/manager/mod/manager.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/mod/manager.go -------------------------------------------------------------------------------- /pkg/manager/type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/type.go -------------------------------------------------------------------------------- /pkg/manager/type_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/manager/type_test.go -------------------------------------------------------------------------------- /pkg/tool/.snapshots/TestWriter_Write-dep-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/.snapshots/TestWriter_Write-dep-tools.go -------------------------------------------------------------------------------- /pkg/tool/.snapshots/TestWriter_Write-mod-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/.snapshots/TestWriter_Write-mod-tools.go -------------------------------------------------------------------------------- /pkg/tool/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/config.go -------------------------------------------------------------------------------- /pkg/tool/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/errors.go -------------------------------------------------------------------------------- /pkg/tool/manifest.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/manifest.go -------------------------------------------------------------------------------- /pkg/tool/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/parser.go -------------------------------------------------------------------------------- /pkg/tool/parser_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/parser_test.go -------------------------------------------------------------------------------- /pkg/tool/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/repository.go -------------------------------------------------------------------------------- /pkg/tool/tool.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/tool.go -------------------------------------------------------------------------------- /pkg/tool/writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/writer.go -------------------------------------------------------------------------------- /pkg/tool/writer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/pkg/tool/writer_test.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_2_tools-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_2_tools-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_a_tool_that_has_already_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_a_tool_that_has_already_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_first_tool-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_first_tool-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_tools_included_in_the_same_package-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_tools_included_in_the_same_package-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_tools_that_its_root_proejct_has_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_tools_that_its_root_proejct_has_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Dep-add_tools_with_version_specification-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Dep-add_tools_with_version_specification-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_2_tools-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_2_tools-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_a_tool_that_has_already_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_a_tool_that_has_already_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_first_tool-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_first_tool-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_tools_included_in_the_same_package-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_tools_included_in_the_same_package-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_tools_that_its_root_proejct_has_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_tools_that_its_root_proejct_has_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_tools_that_the_tool_has_the_same_package_has_already_been_added-tools.go -------------------------------------------------------------------------------- /tests/e2e/.snapshots/TestGex_Mod-add_tools_with_version_specification-tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/.snapshots/TestGex_Mod-add_tools_with_version_specification-tools.go -------------------------------------------------------------------------------- /tests/e2e/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/Dockerfile -------------------------------------------------------------------------------- /tests/e2e/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/go.mod -------------------------------------------------------------------------------- /tests/e2e/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/go.sum -------------------------------------------------------------------------------- /tests/e2e/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/main_test.go -------------------------------------------------------------------------------- /tests/e2e/test_context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/test_context.go -------------------------------------------------------------------------------- /tests/e2e/test_mode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/test_mode.go -------------------------------------------------------------------------------- /tests/e2e/test_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/test_writer.go -------------------------------------------------------------------------------- /tests/e2e/testdata/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/x-izumin/gex/HEAD/tests/e2e/testdata/main.go -------------------------------------------------------------------------------- /version.go: -------------------------------------------------------------------------------- 1 | package gex 2 | 3 | const ( 4 | Version = "0.7.1" 5 | ) 6 | --------------------------------------------------------------------------------