-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish cgrindel/[email protected] (#950)
Co-authored-by: Chuck Grindel <[email protected]>
- Loading branch information
1 parent
72637fe
commit 7b19e6b
Showing
5 changed files
with
95 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
module( | ||
name = "cgrindel_bazel_starlib", | ||
version = "0.18.0", | ||
bazel_compatibility = [">=6.1.0"], | ||
) | ||
|
||
# MARK: - Runtime Dependencies | ||
|
||
bazel_dep( | ||
name = "rules_go", | ||
version = "0.41.0", | ||
repo_name = "io_bazel_rules_go", | ||
) | ||
bazel_dep( | ||
name = "gazelle", | ||
version = "0.32.0", | ||
repo_name = "bazel_gazelle", | ||
) | ||
bazel_dep(name = "bazel_skylib", version = "1.4.2") | ||
bazel_dep( | ||
name = "stardoc", | ||
version = "0.5.6", | ||
repo_name = "io_bazel_stardoc", | ||
) | ||
bazel_dep( | ||
name = "buildifier_prebuilt", | ||
version = "6.0.0.1", | ||
) | ||
bazel_dep(name = "platforms", version = "0.0.6") | ||
|
||
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") | ||
go_deps.from_file(go_mod = "//:go.mod") | ||
use_repo( | ||
go_deps, | ||
"com_github_creasty_defaults", | ||
"com_github_gomarkdown_markdown", | ||
"com_github_stretchr_testify", | ||
"in_gopkg_yaml_v3", | ||
) | ||
|
||
# MARK: - Dev Dependencies | ||
|
||
bazel_dep( | ||
name = "bazel_skylib_gazelle_plugin", | ||
version = "1.4.2", | ||
dev_dependency = True, | ||
) | ||
bazel_dep( | ||
name = "rules_bazel_integration_test", | ||
version = "0.14.1", | ||
dev_dependency = True, | ||
) | ||
|
||
bazel_binaries = use_extension( | ||
"@rules_bazel_integration_test//:extensions.bzl", | ||
"bazel_binaries", | ||
dev_dependency = True, | ||
) | ||
bazel_binaries.download(version_file = "//:.bazelversion") | ||
bazel_binaries.download(version = "7.0.0-pre.20230628.2") | ||
use_repo(bazel_binaries, "bazel_binaries") |
13 changes: 13 additions & 0 deletions
13
modules/cgrindel_bazel_starlib/0.18.0/patches/module_dot_bazel_version.patch
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Index: MODULE.bazel | ||
=================================================================== | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -1,7 +1,7 @@ | ||
module( | ||
name = "cgrindel_bazel_starlib", | ||
- version = "0.0.0", | ||
+ version = "0.18.0", | ||
bazel_compatibility = [">=6.1.0"], | ||
) | ||
|
||
# MARK: - Runtime Dependencies |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
bcr_test_module: | ||
module_path: "examples/bzlmod_e2e" | ||
matrix: | ||
platform: ["macos", "ubuntu2004"] | ||
tasks: | ||
run_tests: | ||
name: "Run test module" | ||
platform: ${{ platform }} | ||
test_targets: | ||
- "//..." |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-36Qj2/WqwKUhfTeAspWr0+ocYz1fkZhxKyPw8U8ujZI=", | ||
"strip_prefix": "", | ||
"url": "https://github.com/cgrindel/bazel-starlib/releases/download/v0.18.0/bazel-starlib.v0.18.0.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-TfKFBXuZjVxV0sCpdN803nhc8eXjkNfmZb3KIbt2JGw=" | ||
}, | ||
"patch_strip": 0 | ||
} |
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 |
---|---|---|
|
@@ -17,7 +17,8 @@ | |
"0.16.0", | ||
"0.16.1", | ||
"0.16.2", | ||
"0.17.0" | ||
"0.17.0", | ||
"0.18.0" | ||
], | ||
"yanked_versions": {} | ||
} |