mirror of
https://github.com/realm/SwiftLint.git
synced 2026-05-07 20:12:49 +00:00
74b82daba0
And pin the Ruby version to 2.7.5. rbenv was installed on all CI machines using Homebrew, with Ruby 2.7.5 installed and set as the global version. The `pre-command` script was also updated on all agents to add rbenv binaries to the path and run `rbenv init`. Remove rules_ruby integration and just use rbenv and ruby directly.
21 lines
562 B
Python
21 lines
562 B
Python
workspace(name = "SwiftLint")
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
http_archive(
|
|
name = "Sourcery",
|
|
build_file_content = """
|
|
load("@bazel_skylib//rules:native_binary.bzl", "native_binary")
|
|
|
|
native_binary(
|
|
name = "Sourcery",
|
|
src = "sourcery",
|
|
out = "sourcery",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
""",
|
|
strip_prefix = "bin",
|
|
sha256 = "7489afb5c867efa06333a779a2430ccb52647a50f0e2280066cc78aea4532d8d",
|
|
url = "https://github.com/krzysztofzablocki/Sourcery/releases/download/2.0.2/Sourcery-2.0.2.zip",
|
|
)
|