Compare commits
1 Commits
main
...
rules_xcod
Author | SHA1 | Date |
---|---|---|
![]() |
ea58506883 |
|
@ -0,0 +1,2 @@
|
||||||
|
build --macos_minimum_os=12.0
|
||||||
|
build --host_macos_minimum_os=12.0
|
|
@ -60,3 +60,4 @@ bundle/
|
||||||
|
|
||||||
# Bazel
|
# Bazel
|
||||||
bazel-*
|
bazel-*
|
||||||
|
SwiftLint.xcodeproj
|
||||||
|
|
13
BUILD
13
BUILD
|
@ -3,6 +3,7 @@ load(
|
||||||
"swift_binary",
|
"swift_binary",
|
||||||
"swift_library",
|
"swift_library",
|
||||||
)
|
)
|
||||||
|
load("@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:xcodeproj.bzl", "xcodeproj")
|
||||||
|
|
||||||
swift_library(
|
swift_library(
|
||||||
name = "SwiftLintFramework",
|
name = "SwiftLintFramework",
|
||||||
|
@ -33,3 +34,15 @@ swift_binary(
|
||||||
"@swiftlint_com_github_scottrhoyt_swifty_text_table//:SwiftyTextTable",
|
"@swiftlint_com_github_scottrhoyt_swifty_text_table//:SwiftyTextTable",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
xcodeproj(
|
||||||
|
name = "xcodeproj",
|
||||||
|
build_mode = "bazel",
|
||||||
|
project_name = "SwiftLint",
|
||||||
|
tags = ["manual"],
|
||||||
|
top_level_targets = [
|
||||||
|
":swiftlint",
|
||||||
|
":SwiftLintFramework",
|
||||||
|
"//Tests:ExtraRulesTests",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
11
WORKSPACE
11
WORKSPACE
|
@ -36,3 +36,14 @@ swiftlint_repos()
|
||||||
load("//bazel:deps.bzl", "swiftlint_deps")
|
load("//bazel:deps.bzl", "swiftlint_deps")
|
||||||
|
|
||||||
swiftlint_deps()
|
swiftlint_deps()
|
||||||
|
|
||||||
|
http_archive(
|
||||||
|
name = "com_github_buildbuddy_io_rules_xcodeproj",
|
||||||
|
sha256 = "a526d0f001325f31ea011d64afec2b4e5df5a9e7cc4a1dde11f5b885ae19e2b0",
|
||||||
|
strip_prefix = "rules_xcodeproj-7cdff3362ea8fffae42097b9276ff8a6ffbee2fb",
|
||||||
|
url = "https://github.com/buildbuddy-io/rules_xcodeproj/archive/7cdff3362ea8fffae42097b9276ff8a6ffbee2fb.tar.gz",
|
||||||
|
)
|
||||||
|
|
||||||
|
load("@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:repositories.bzl", "xcodeproj_rules_dependencies")
|
||||||
|
|
||||||
|
xcodeproj_rules_dependencies()
|
||||||
|
|
Loading…
Reference in New Issue