diff --git a/BUILD b/BUILD index 2540b72..0963b41 100644 --- a/BUILD +++ b/BUILD @@ -16,10 +16,6 @@ objc_library( objc_library( name = "MOLCertificateTestsLib", srcs = glob(["Tests/MOLCertificateTest.m"]), - data = glob([ - "Tests/*.pem", - "Tests/*.crt", - ]), deps = [":MOLCertificate"], ) @@ -28,5 +24,10 @@ load("@build_bazel_rules_apple//apple:macos.bzl", "macos_unit_test") macos_unit_test( name = "MOLCertificateTests", minimum_os_version = "10.9", + resources = glob([ + "Tests/*.pem", + "Tests/*.crt", + ]), + deps = [":MOLCertificateTestsLib"], ) diff --git a/MOLCertificate.podspec b/MOLCertificate.podspec index 5d141fb..8e1ee76 100644 --- a/MOLCertificate.podspec +++ b/MOLCertificate.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'MOLCertificate' - s.version = '2.1' + s.version = '2.2' s.platform = :osx, '10.9' s.license = { :type => 'Apache', :file => 'LICENSE' } s.homepage = 'https://github.com/google/macops-molcertificate' diff --git a/WORKSPACE b/WORKSPACE index 1bce1ec..6145672 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -3,7 +3,7 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") git_repository( name = "build_bazel_rules_apple", remote = "https://github.com/bazelbuild/rules_apple.git", - tag = "0.6.0", + tag = "0.31.3", ) load(