Skip to content

A dependency fails to have its resources copied by carton bundle #216

@MaxDesiatov

Description

@MaxDesiatov

A dependency with a resource fails to have its resources copied by carton bundle. I've updated the linked repository to show the problem.

This is the output of carton bundle:

Bundle
├── TopLevelResource.md
├── c78bdf2c8a889c8f.wasm
├── c9143f6becf19317.js
├── index.html
└── swift-wasm-resource-bug_swift-wasm-resource-bug.resources
    └── TopLevelResource.md

I see two potential issues:

  1. TopLevelResource.md appears twice. Once at the root, and once in a resource directory for the module. The specific resource directory seems more correct, as there could be name collisions across modules.
  2. Resource.md from the SubPackageWithResource package is missing entirely.

Originally posted by @fcanas in swiftwasm/swift#2568 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions