forked from bazelbuild/bazel-central-registry
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: https://github.com/aaronsky/asc-swift/releases/tag/1.0.0rc2 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
800b4f5
commit bd9e022
Showing
5 changed files
with
109 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
""" | ||
A Swift library for accessing Apple's App Store Connect API and Enterprise Program API. | ||
""" | ||
|
||
module( | ||
name = "asc_swift", | ||
version = "1.0.0rc2", | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.16.0") | ||
bazel_dep(name = "platforms", version = "0.0.10") | ||
bazel_dep(name = "rules_apple", version = "3.8.0") | ||
bazel_dep(name = "rules_cc", version = "0.0.9") | ||
bazel_dep(name = "rules_swift", version = "2.1.1") | ||
|
||
bazel_dep(name = "aspect_bazel_lib", version = "2.8.0", dev_dependency = True) | ||
bazel_dep(name = "rules_multirun", version = "0.9.0", dev_dependency = True) | ||
|
||
asc_swift_deps = use_extension("//bazel:extensions.bzl", "asc_swift_deps") | ||
use_repo( | ||
asc_swift_deps, | ||
"com_github_apple_swift_crypto", | ||
"com_github_createapi_urlqueryencoder", | ||
) | ||
|
||
asc_swift_dev_deps = use_extension("//bazel:extensions.bzl", "asc_swift_dev_deps", dev_dependency = True) | ||
use_repo( | ||
asc_swift_dev_deps, | ||
"com_apple_app_store_connect_api", | ||
"com_apple_enterprise_program_api", | ||
"com_github_aaronsky_createapi", | ||
"com_github_apple_swift_argument_parser", | ||
"com_github_cosmo_grammaticalnumber", | ||
"com_github_createapi_openapikit", | ||
"com_github_createapi_yams", | ||
"com_github_eonist_filewatcher", | ||
"com_github_liamnichols_swift_configuration_parser", | ||
) |
14 changes: 14 additions & 0 deletions
14
modules/asc_swift/1.0.0rc2/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -3,9 +3,9 @@ | ||
""" | ||
|
||
module( | ||
name = "asc_swift", | ||
- version = "0.0.0", | ||
+ version = "1.0.0rc2", | ||
) | ||
|
||
bazel_dep(name = "apple_support", version = "1.16.0") | ||
bazel_dep(name = "platforms", version = "0.0.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
bcr_test_module: | ||
module_path: Examples/bzlmod | ||
matrix: | ||
bazel: | ||
- 7.x | ||
tasks: | ||
verify_targets_linux: | ||
name: Verify Targets (Linux) | ||
platform: ubuntu2004 | ||
bazel: ${{ bazel }} | ||
environment: | ||
CC: "clang" | ||
SWIFT_VERSION: "5.9.2" | ||
SWIFT_HOME: "$HOME/swift-5.9.2" | ||
PATH: "$PATH:$HOME/swift-5.9.2/usr/bin" | ||
shell_commands: | ||
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME" | ||
- "mkdir $SWIFT_HOME" | ||
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME" | ||
build_flags: | ||
- "--action_env=PATH" | ||
build_targets: | ||
- "//..." | ||
verify_targets_macos: | ||
name: Verify Targets (macOS) | ||
platform: macos | ||
bazel: ${{ bazel }} | ||
build_targets: | ||
- "//..." | ||
build_flags: | ||
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-uRp8qOlJ1v+hCdxdXhZqHVzgB0cGkZXrKe1nE1H0WtU=", | ||
"strip_prefix": "asc_swift-1.0.0rc2", | ||
"url": "https://github.com/aaronsky/asc-swift/releases/download/1.0.0rc2/asc_swift-1.0.0rc2.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-5T/4F9EIQxbBChGIZEkXJ/3rq7c8pfqRwiLpBkAWt0A=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"homepage": "https://github.com/aaronsky/asc-swift", | ||
"maintainers": [ | ||
{ | ||
"name": "Aaron Sky", | ||
"email": "[email protected]", | ||
"github": "aaronsky" | ||
} | ||
], | ||
"repository": [ | ||
"github:aaronsky/asc-swift" | ||
], | ||
"versions": [ | ||
"1.0.0rc2" | ||
], | ||
"yanked_versions": {} | ||
} |