Skip to content

Commit

Permalink
add stardoc using http_archive instead of git_repository + upgrade to…
Browse files Browse the repository at this point in the history
… 0.7.0
  • Loading branch information
albertocavalcante committed Jul 31, 2024
1 parent 8390cb9 commit e44a7e4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
workspace(name = "rules_antlr")

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_jar")

local_repository(
name = "examples",
Expand Down Expand Up @@ -30,10 +29,12 @@ load("//antlr:repositories.bzl", "rules_antlr_dependencies")

rules_antlr_dependencies(2, 3, 4)

git_repository(
http_archive(
name = "io_bazel_stardoc",
remote = "https://github.com/bazelbuild/stardoc.git",
tag = "0.4.0",
sha256 = "dd7f32f4fe2537ce2452c51f816a5962d48888a5b07de2c195f3b3da86c545d3",
urls = [
"https://github.com/bazelbuild/stardoc/releases/download/0.7.0/stardoc-0.7.0.tar.gz",
],
)

load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
Expand Down

0 comments on commit e44a7e4

Please sign in to comment.