Skip to content

[Feature Request] Excluding folders based on release type or replacements on .pkgmeta files #165

@emmericp

Description

@emmericp

I'm in the process of adding some large-ish test data over multiple files to an AddOn that I would like to only include in alpha builds.

I'm currently just putting #@alpha@ tags into the toc file to prevent the files from being loaded, but I would like to exclude them fully just to keep the package a bit smaller.

Maybe it would be a good idea to have some replacements on the .pkgmeta file that gets applied prior to the .pkgmeta being evaluated?
For example:

ignore:
  - Foo/Bar
#@alpha@
  - Foo/Testdata/
#@end-alpha@

Which would comment it out in non-alpha builds. Could probably be the same code as toc replacements because both use # for comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions