Compare commits

...

1 Commits

Author SHA1 Message Date
JP Simard 66ffb4400e
Local rules_xcodeproj 2022-09-27 21:24:12 -04:00
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,7 @@
try-import %workspace%/ci.bazelrc
try-import %workspace%/user.bazelrc
build --override_repository=com_github_buildbuddy_io_rules_xcodeproj=/Users/jsimard/src/rules_xcodeproj
build --macos_minimum_os=12.0 --host_macos_minimum_os=12.0
build --disk_cache=~/.bazel_cache

9
BUILD
View File

@ -4,7 +4,7 @@ load(
"swift_library",
)
load(
"@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:xcodeproj.bzl",
"@com_github_buildbuddy_io_rules_xcodeproj//xcodeproj:defs.bzl",
"xcode_schemes",
"xcodeproj",
)
@ -97,7 +97,12 @@ xcodeproj(
schemes = [
xcode_schemes.scheme(
name = "SwiftLint",
launch_action = xcode_schemes.launch_action("//:swiftlint"),
launch_action = xcode_schemes.launch_action(
"swiftlint",
args = [
"--progress",
],
),
test_action = xcode_schemes.test_action([
"//Tests:SwiftLintFrameworkTests",
"//Tests:ExtraRulesTests",