Skip to content

Commit

Permalink
annex_install.json deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-skrodzka committed Oct 25, 2024
1 parent 4e4fa8b commit 5c8a1f6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ http_archive(

load("@rules_scala3//rules/scala:workspace.bzl", "scala_register_toolchains", "scala_repositories")
scala_repositories()
load("@annex//:defs.bzl", annex_pinned_maven_install = "pinned_maven_install")
annex_pinned_maven_install()
scala_register_toolchains()

load("@rules_scala3//rules/scalafmt:config.bzl", "scalafmt_default_config")
Expand Down
3 changes: 0 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@ deps-update:
rg -l 'maven_install_json' --glob '*.bzl' --glob 'WORKSPACE' | xargs sed -i -E 's/[^#]maven_install_json/#maven_install_json/g'

bazel run @annex_deps//:pin
bazel run @annex//:pin
cd tests && bazel run @annex_test//:pin

rg -l '#maven_install_json' --glob '*.bzl' --glob 'WORKSPACE' | xargs sed -i 's/#maven_install_json/maven_install_json/g'

REPIN=1 bazel run @unpinned_annex_deps//:pin
REPIN=1 bazel run @unpinned_annex//:pin
cd tests && REPIN=1 bazel run @unpinned_annex_test//:pin

deps-outdated:
bazel run @annex//:outdated
bazel run @annex_deps//:outdated
cd tests && bazel run @annex_test//:outdated

Expand Down
21 changes: 0 additions & 21 deletions rules/scala/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,7 @@ repositories = [
sbt_version = "2.0.0-M2"
zinc_version = "2.0.0-alpha14"

def scala_artifacts():
return [
"com.github.scopt:scopt_3:4.1.0",
"org.jacoco:org.jacoco.core:0.8.10",
"org.jline:jline-reader:3.24.1",
"org.scala-lang.modules:scala-xml_3:2.3.0",
"org.scala-sbt:test-interface:1.0",
"org.scala-sbt:util-interface:" + sbt_version,
"org.scala-sbt:util-logging_3:" + sbt_version,
"org.scala-sbt:zinc_3:" + zinc_version,
"org.scalameta:munit_3:1.0.2",
]

def scala_repositories():
maven_install(
name = "annex",
artifacts = scala_artifacts(),
repositories = repositories,
fetch_sources = True,
maven_install_json = "@rules_scala3//:annex_install.json",
)

http_archive(
name = "compiler_bridge_2_13",
build_file_content = _SRC_FILEGROUP_BUILD_FILE_CONTENT,
Expand Down

0 comments on commit 5c8a1f6

Please sign in to comment.