Skip to content

Release v0.2.0

Compare
Choose a tag to compare
@cgrindel-app-token-generator cgrindel-app-token-generator released this 13 Jan 20:34
· 972 commits to main since this release
f044de3

What's Changed

  • Update README.md for v0.1.0 by @cgrindel-app-token-generator in #132
  • chore(deps): update bazel_gazelle digest to 980c753 by @renovate in #134
  • chore(deps): update actions/checkout action to v3 by @renovate in #131
  • fix(deps): update github.com/bazelbuild/buildtools digest to 06e8e24 by @renovate in #114
  • chore: use slices package and convert to table driven tests by @cgrindel in #140
  • fix: correct the link to repository rules doc by @cgrindel in #142
  • feat: introduce swift_update_packages macro by @cgrindel in #144
  • feat: support storing Swift dependency files in a sub-package by @cgrindel in #146
  • chore: add nogo code analysis checks by @cgrindel in #147
  • chore(deps): update bazel_gazelle digest to 6365599 by @renovate in #145
  • chore: add Go documentation comments by @cgrindel in #150

Full Changelog: v0.1.0...v0.2.0

Workspace Snippet

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

http_archive(
    name = "cgrindel_swift_bazel",
    sha256 = "fd77181e45fbb9ab6ddedf59f3f2d4cf0c173919a6de8d4a398d99fd965d5ce5",
    strip_prefix = "swift_bazel-0.2.0",
    urls = [
        "http://github.com/cgrindel/swift_bazel/archive/v0.2.0.tar.gz",
    ],
)

load("@cgrindel_swift_bazel//:deps.bzl", "swift_bazel_dependencies")

swift_bazel_dependencies()

load("@cgrindel_bazel_starlib//:deps.bzl", "bazel_starlib_dependencies")

bazel_starlib_dependencies()

# MARK: - Gazelle

# gazelle:repo bazel_gazelle

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
load("@cgrindel_swift_bazel//:go_deps.bzl", "swift_bazel_go_dependencies")
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")

# Declare Go dependencies before calling go_rules_dependencies.
swift_bazel_go_dependencies()

go_rules_dependencies()

go_register_toolchains(version = "1.19.1")

gazelle_dependencies()

# MARK: - Swift Toolchain

http_archive(
    name = "build_bazel_rules_swift",
    # Populate with your preferred release 
    # https://github.com/bazelbuild/rules_swift/releases
)

load(
    "@build_bazel_rules_swift//swift:repositories.bzl",
    "swift_rules_dependencies",
)
load("//:swift_deps.bzl", "swift_dependencies")

# gazelle:repository_macro swift_deps.bzl%swift_dependencies
swift_dependencies()

swift_rules_dependencies()

load(
    "@build_bazel_rules_swift//swift:extras.bzl",
    "swift_rules_extra_dependencies",
)

swift_rules_extra_dependencies()