-
Notifications
You must be signed in to change notification settings - Fork 574
rules_gleam@0.1.13 #6298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
iocat
wants to merge
1
commit into
bazelbuild:main
Choose a base branch
from
iocat:rules_gleam-v0.1.13
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+93
−1
Open
rules_gleam@0.1.13 #6298
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,40 @@ | ||
| module( | ||
| name = "rules_gleam", | ||
| version = "0.1.13", | ||
| ) | ||
|
|
||
| bazel_dep(name = "rules_go", version = "0.57.0") | ||
| bazel_dep(name = "gazelle", version = "0.45.0") | ||
| bazel_dep(name = "bazel_skylib", version = "1.8.1") | ||
| bazel_dep(name = "rules_erlang", version = "3.16.0") | ||
| bazel_dep(name = "platforms", version = "1.0.0") | ||
| bazel_dep(name = "bazel_features", version = "1.35.0") | ||
|
|
||
| # Download a suitable Go SDK. | ||
| go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") | ||
| go_sdk.download(version = "1.25.1") | ||
| use_repo(go_sdk, "go_host_compatible_sdk_label") | ||
|
|
||
| go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps") | ||
| go_deps.from_file( | ||
| fail_on_version_conflict = False, | ||
| go_mod = "//:go.mod", | ||
| ) | ||
| use_repo(go_deps, "com_github_bazelbuild_buildtools", "com_github_bmatcuk_doublestar_v4", "com_github_burntsushi_toml", "com_github_google_go_cmp", "com_github_kr_pretty", "com_github_kr_text", "com_github_lithammer_dedent", "com_github_pmezard_go_difflib", "com_github_rogpeppe_go_internal", "org_golang_x_mod", "org_golang_x_sync", "org_golang_x_sys", "org_golang_x_tools_go_vcs") | ||
|
|
||
| gleam = use_extension("//:extensions.bzl", "gleam") | ||
| gleam.deps(gleam_toml = "//:gleam/gleeunit/gleam.toml") | ||
| gleam.erlang(version = "latest") | ||
|
|
||
| # Registers the default toolchain to be the latest | ||
| # User of rules_gleam, can customize the default tool chains using the same extension tag: | ||
| gleam.toolchain(version = "latest") | ||
|
|
||
| register_toolchains("@gleam_toolchains//:all") | ||
| register_toolchains("@gleam_erlang_toolchains//:all") | ||
|
|
||
| use_repo(gleam, "gleam_compiler_aarch64_apple_darwin", "gleam_compiler_aarch64_pc_windows_msvc", "gleam_compiler_aarch64_unknown_linux_musl", "gleam_compiler_x86_64_apple_darwin", "gleam_compiler_x86_64_pc_windows_msvc", "gleam_compiler_x86_64_unknown_linux_musl", "gleam_erlang_toolchains", "gleam_hex_repositories_config", "gleam_toolchains", "hex_gleam_stdlib") | ||
|
|
||
| # Internal tools | ||
| gleam_tools = use_extension("//internal/tools:extensions.bzl", "tools") | ||
| use_repo(gleam_tools, "rules_gleam_go_repository_cache", "rules_gleam_internal_tools") | ||
This file contains hidden or 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,17 @@ | ||
| { | ||
| "mediaType": "application/vnd.build.bazel.registry.attestation+json;version=1.0.0", | ||
| "attestations": { | ||
| "source.json": { | ||
| "url": "https://github.com/iocat/rules_gleam/releases/download/v0.1.13/source.json.intoto.jsonl", | ||
| "integrity": "sha256-6yPjupX/ha9/XK/AFxnOGUyrcPT4IgLmCj2Pr2ZbaxA=" | ||
| }, | ||
| "MODULE.bazel": { | ||
| "url": "https://github.com/iocat/rules_gleam/releases/download/v0.1.13/MODULE.bazel.intoto.jsonl", | ||
| "integrity": "sha256-e2AwPTmqxwyvSp1sw7ayHdI94R6Srw4p/6hOyCD3PTI=" | ||
| }, | ||
| "rules_gleam-v0.1.13.tar.gz": { | ||
| "url": "https://github.com/iocat/rules_gleam/releases/download/v0.1.13/rules_gleam-v0.1.13.tar.gz.intoto.jsonl", | ||
| "integrity": "sha256-EI0wvwyBqxgUYxpMKsKg7/bG5kWz1GQ+BWi7NE7Xl/4=" | ||
| } | ||
| } | ||
| } |
12 changes: 12 additions & 0 deletions
12
modules/rules_gleam/0.1.13/patches/module_dot_bazel_version.patch
This file contains hidden or 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,12 @@ | ||
| =================================================================== | ||
| --- a/MODULE.bazel | ||
| +++ b/MODULE.bazel | ||
| @@ -1,7 +1,7 @@ | ||
| module( | ||
| name = "rules_gleam", | ||
| - version = "0.0.0", | ||
| + version = "0.1.13", | ||
| ) | ||
|
|
||
| bazel_dep(name = "rules_go", version = "0.57.0") | ||
| bazel_dep(name = "gazelle", version = "0.45.0") |
This file contains hidden or 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 @@ | ||
| bcr_test_module: | ||
| module_path: "examples/basic" | ||
| matrix: | ||
| bazel: [8.x] | ||
| tasks: | ||
| ubuntu2204: | ||
| name: "Build/test module on Ubuntu" | ||
| platform: ubuntu2204 | ||
| bazel: ${{ bazel }} | ||
| build_targets: | ||
| - "..." | ||
| test_targets: | ||
| - "..." |
This file contains hidden or 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-ZfZAPUAQsWw+ZwraCq4MlGcaVBzGojepH/AbqDx0jkg=", | ||
| "strip_prefix": "rules_gleam-0.1.13", | ||
| "url": "https://github.com/iocat/rules_gleam/releases/download/v0.1.13/rules_gleam-v0.1.13.tar.gz", | ||
| "patches": { | ||
| "module_dot_bazel_version.patch": "sha256-3qWjWJdByd3Bi9YqRY0m8humBlgyW6v/muG8TqyLygc=" | ||
| }, | ||
| "patch_strip": 1 | ||
| } |
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -12,7 +12,8 @@ | |
| "github:iocat/rules_gleam" | ||
| ], | ||
| "versions": [ | ||
| "0.1.12" | ||
| "0.1.12", | ||
| "0.1.13" | ||
| ], | ||
| "yanked_versions": {} | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.