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

Commit

Permalink
Update spm_package to use helper (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel authored Jul 15, 2021
1 parent 3b58964 commit 14db435
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spm/internal/spm_package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ load(
load(
"//spm/internal:package_description.bzl",
"exported_library_targets",
"library_targets",
"parse_package_description_json",
)
load("//spm/internal:files.bzl", "is_hdr_file", "is_modulemap_file", "is_target_file")
Expand Down Expand Up @@ -152,7 +153,7 @@ def _spm_package_impl(ctx):

modulemap_dir_path = "%s/modulemaps" % (output_dir_path)

targets = [t for t in pkg_desc["targets"] if t["type"] == "library"]
targets = library_targets(pkg_desc)

swift_module_infos = []
clang_module_build_infos = []
Expand Down

0 comments on commit 14db435

Please sign in to comment.