forked from bazelbuild/bazelisk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some random clean-ups (bazelbuild#179)
* Bump rules_go, gazelle versions, upgrade go-version to v1.2.1, re-run gazelle * Remove //:go_version_test target, remove LDFLAGS from Windows, build and test everything on CI * Disable //:py3_bazelisk_test on Windows only
- Loading branch information
Showing
10 changed files
with
62 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "core", | ||
name = "go_default_library", | ||
srcs = [ | ||
"core.go", | ||
"repositories.go", | ||
], | ||
importpath = "github.com/bazelbuild/bazelisk/core", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"@com_github_hashicorp_go_version//:go_default_library", | ||
"//httputil:go_default_library", | ||
"//platforms:go_default_library", | ||
"//versions:go_default_library", | ||
"@com_github_mitchellh_go_homedir//:go_default_library", | ||
"//httputil", | ||
"//platforms", | ||
"//repositories", | ||
"//versions", | ||
], | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
github.com/hashicorp/go-version v1.2.0 h1:3vNe/fWF5CBgRIguda1meWhsZHy3m8gCJ5wx+dIzX/E= | ||
github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= | ||
github.com/bazelbuild/rules_go v0.24.3 h1:BKNgfYF+WS0pBpmMy2w9k6TqMpxuzL3JI0oWmhZ4JRU= | ||
github.com/bazelbuild/rules_go v0.24.3/go.mod h1:MC23Dc/wkXEyk3Wpq6lCqz0ZAYOZDw2DR5y3N1q2i7M= | ||
github.com/hashicorp/go-version v1.2.1 h1:zEfKbn2+PDgroKdiOzqiE8rsmLqU2uwi5PB5pBJ3TkI= | ||
github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= | ||
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= | ||
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "httputil", | ||
name = "go_default_library", | ||
srcs = ["httputil.go"], | ||
importpath = "github.com/bazelbuild/bazelisk/httputil", | ||
visibility = ["//visibility:public"], | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "platforms", | ||
name = "go_default_library", | ||
srcs = ["platforms.go"], | ||
importpath = "github.com/bazelbuild/bazelisk/platforms", | ||
visibility = ["//visibility:public"], | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "repositories", | ||
name = "go_default_library", | ||
srcs = [ | ||
"gcs.go", | ||
"github.go", | ||
], | ||
importpath = "github.com/bazelbuild/bazelisk/repositories", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//httputil", | ||
"//platforms", | ||
"//versions", | ||
"//httputil:go_default_library", | ||
"//platforms:go_default_library", | ||
"//versions:go_default_library", | ||
], | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
|
||
go_library( | ||
name = "versions", | ||
srcs = [ | ||
"versions.go", | ||
], | ||
name = "go_default_library", | ||
srcs = ["versions.go"], | ||
importpath = "github.com/bazelbuild/bazelisk/versions", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"@com_github_hashicorp_go_version//:go_default_library", | ||
], | ||
) | ||
) |