Skip to content

Release v0.4.1

Compare
Choose a tag to compare
@cgrindel-app-token-generator cgrindel-app-token-generator released this 01 Apr 21:46
· 856 commits to main since this release
7faf6e6

What's Changed

  • Update README.md for v0.3.3 by @cgrindel-app-token-generator in #292
  • feat: provide options for printing and updating bzlmod stanzas in MODULE.bazel by @cgrindel in #293
  • chore: update examples to use bzlmod by @cgrindel in #294
  • chore(deps): update dependency cgrindel_bazel_starlib to v0.15.0 by @renovate in #298
  • chore(deps): update bazel_gazelle digest to 65a5bf7 by @renovate in #301
  • chore(deps): update bazel_gazelle digest to 9819865 by @renovate in #302
  • chore: refactor CI workflow to include runner and enable_bzlmod by @cgrindel in #303
  • chore(deps): update dependency rules_bazel_integration_test to v0.12.0 by @renovate in #306
  • chore(deps): update dependency build_bazel_rules_swift to v1.7.1 by @renovate in #305
  • chore(deps): update bazel_gazelle digest to eebfc4b by @renovate in #307
  • fix: dependency target json parsing issue of old SPM Package.swift by @tingyao-ui in #300
  • chore: disable the generation of swift_deps.bzl when using bzlmod by @cgrindel in #304
  • chore: add //release:archive_test and //bzlmod:e2e_test by @cgrindel in #312
  • chore(deps): update bazel_gazelle digest to e091227 by @renovate in #314
  • chore(deps): update dependency io_bazel_rules_go to v0.39.0 by @renovate in #317
  • chore: refactor CI generation to include tests outside of examples by @cgrindel in #319
  • chore(deps): update bazel_gazelle digest to 129d0fd by @renovate in #318
  • chore(deps): update dependency apple/swift-log to from: "1.5.2" by @renovate in #316
  • chore(deps): update dependency apple/swift-argument-parser to from: "1.2.2" by @renovate in #315
  • chore(deps): update bazel_gazelle digest to 4dfcb75 by @renovate in #324
  • fix: support resource directories in external Swift packages by @cgrindel in #323
  • chore: rename repository to rules_swift_package_manager by @cgrindel in #328
  • chore: add files for publish-to-bcr by @cgrindel in #329

New Contributors

Full Changelog: v0.3.3...v0.4.1

Bazel Module Snippet

bazel_dep(name = "rules_swift_package_manager", version = "0.4.1")

Workspace Snippet

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

http_archive(
    name = "cgrindel_rules_swift_package_manager",
    sha256 = "fc55133279df272ba2b8dc81f24ea5cfbe0e5fa7ab9780eeda1ce1f19668ac89",
    urls = [
        "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.4.1/rules_swift_package_manager.v0.4.1.tar.gz",
    ],
)

load("@rules_swift_package_manager//: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("@rules_swift_package_manager//: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()