Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] #2645

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions modules/asc_swift/1.0.0-alpha.1/MODULE.bazel
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.0-alpha.1",
)

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",
)
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.0-alpha.1",
)

bazel_dep(name = "apple_support", version = "1.16.0")
bazel_dep(name = "platforms", version = "0.0.10")
12 changes: 12 additions & 0 deletions modules/asc_swift/1.0.0-alpha.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
bcr_test_module:
module_path: 'Examples/bzlmod'
matrix:
platform: ['macos', 'ubuntu2004']
bazel: ['7.x']
tasks:
run_tests:
name: 'Perform smoke test with bzlmod example'
platform: ${{ platform }}
bazel: ${{ bazel }}
test_targets:
- '//...'
9 changes: 9 additions & 0 deletions modules/asc_swift/1.0.0-alpha.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-U2Xg+q5r6AiBF5v4BG39QqALapo6hDe1tYBLB1QI+ks=",
"strip_prefix": "asc_swift-1.0.0-alpha.1",
"url": "https://github.com/aaronsky/asc-swift/releases/download/1.0.0-alpha.1/asc_swift-1.0.0-alpha.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-LB3GblgVkO3K1I0TjbXrtlNWpiwpWAo2SKIk90tI9FI="
},
"patch_strip": 1
}
17 changes: 17 additions & 0 deletions modules/asc_swift/metadata.json
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.0-alpha.1"
],
"yanked_versions": {}
}
Loading