Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release-candidate' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Verkoeyen committed Dec 11, 2018
2 parents bb833f3 + 5a46b95 commit d8f3246
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# 2.0.1

This patch release fixes framework-style imports when using bazel to build this library as an
external dependency.

## Non-source changes

* [Add workspace_root to framework import path. (#51)](https://github.com/material-foundation/material-internationalization-ios/commit/25a16214c9ca8ecfbb89f4168f7967c3a0549921) (featherless)

# 2.0.0

This major release upgrades the bazel dependencies and workspace. This change is breaking for anyone
Expand Down
2 changes: 1 addition & 1 deletion MDFInternationalization.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "MDFInternationalization"
s.version = "2.0.0"
s.version = "2.0.1"
s.authors = "The Material Foundation Authors"
s.summary = "Internationalization tools."
s.homepage = "https://github.com/material-foundation/material-internationalization-ios"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.0.0</string>
<string>2.0.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
8 changes: 6 additions & 2 deletions apple_framework_relative_headers.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ def _apple_framework_relative_headers_impl(ctx):
file_actions.symlink(ctx, f, framework_header_file)
outputs.append(framework_header_file)

# Documentation of these implicit types can be found here:
# ctx: https://docs.bazel.build/versions/master/skylark/lib/ctx.html
# ctx.label: https://docs.bazel.build/versions/master/skylark/lib/Label.html

include_dir = "/".join([
ctx.configuration.bin_dir.path, ctx.label.package, output_dir])
ctx.configuration.bin_dir.path, ctx.label.workspace_root, ctx.label.package, output_dir])
return [
apple_common.new_objc_provider(
header=depset(outputs),
Expand Down Expand Up @@ -57,4 +61,4 @@ For example, one would be able to #import <Foo/Bar.h> given the following rules:
Args:
hdrs: The list of header files.
framework_name: The name of the framework.
"""
"""

0 comments on commit d8f3246

Please sign in to comment.