Skip to content

The default value of the “manifest” property does not work when including Git repositories. #1532

@stc1988

Description

@stc1988

Build environment: macOS
Moddable SDK version: 5.11.0
Target device: Moddable Two

Steps to Reproduce

Make the following changes to the manifest.json to build and install the app examples/io/audioin/levelmonitor. This is a modification to use unit mini pdm as a microphone.

"include": [
	"$(MODDABLE)/examples/manifest_base.json",
	"$(MODDABLE)/modules/io/manifest.json",
	"$(MODDABLE)/modules/io/audioin/manifest.json",
    // add below object
	{
		"git": "https://github.com/stc1988/moddable-unit_mini_pdm.git"
	}
],

Expected behavior

I exepect that app includes https://github.com/stc1988/moddable-unit_mini_pdm/blob/main/manifest.json, but it’s not working.

On the other hand, when written as follows, it works as expected.

		{
			"git": "https://github.com/stc1988/moddable-unit_mini_pdm.git",
			"manifest": "manifest.json"
		}

In the documentation, it says, “The default value of the ‘manifest’ property is ‘manifest.json’.” So is there a misunderstanding on my part?

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedissue reported has been reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions