Skip to content

Commit

Permalink
Project: fix some BUILD file lint (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
russellhancox committed Sep 23, 2021
1 parent 4bb5804 commit d7a56b9
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Source/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load("//:helper.bzl", "santa_unit_test")

package(default_visibility = ["//:santa_package_group"])

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

cc_library(
name = "SantaCache",
Expand Down
2 changes: 1 addition & 1 deletion Source/santa/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_application")

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

exports_files([
"Resources/Images.xcassets/AppIcon.appiconset/santa-hat-icon-256.png",
Expand Down
2 changes: 1 addition & 1 deletion Source/santabundleservice/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "santabs_lib",
Expand Down
4 changes: 2 additions & 2 deletions Source/santactl/BUILD
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
licenses(["notice"]) # Apache 2.0

load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")
load("//:helper.bzl", "santa_unit_test")

licenses(["notice"])

objc_library(
name = "santactl_lib",
srcs = [
Expand Down
2 changes: 1 addition & 1 deletion Source/santad/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_bundle")
load("//:helper.bzl", "santa_unit_test")

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "santad_lib",
Expand Down
2 changes: 1 addition & 1 deletion Source/santad/testdata/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
licenses(["notice"]) # Apache 2.0
licenses(["notice"])

filegroup(
name = "binaryrules_testdata",
Expand Down
7 changes: 6 additions & 1 deletion Source/santametricservice/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("//:helper.bzl", "santa_unit_test")

package(default_visibility = ["//:santa_package_group"])

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "SNTMetricServiceLib",
Expand Down Expand Up @@ -46,6 +46,11 @@ test_suite(
macos_command_line_application(
name = "santametricservice",
bundle_id = "com.google.santa.metricservice",
codesignopts = [
"--timestamp",
"--force",
"--options library,kill,runtime",
],
infoplists = ["Info.plist"],
minimum_os_version = "10.15",
version = "//:version",
Expand Down
3 changes: 1 addition & 2 deletions Source/santametricservice/Formats/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")
load("//:helper.bzl", "santa_unit_test")

package(default_visibility = ["//:santa_package_group"])

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "SNTMetricFormat",
Expand Down
3 changes: 1 addition & 2 deletions Source/santametricservice/Writers/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")
load("//:helper.bzl", "santa_unit_test")

package(default_visibility = ["//:santa_package_group"])

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "SNTMetricWriter",
Expand Down
2 changes: 1 addition & 1 deletion Source/santasyncservice/BUILD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
load("@build_bazel_rules_apple//apple:macos.bzl", "macos_command_line_application")

licenses(["notice"]) # Apache 2.0
licenses(["notice"])

objc_library(
name = "santass_lib",
Expand Down

0 comments on commit d7a56b9

Please sign in to comment.