Skip to content

Consider restructuring asset layout #1

Description

@Gramps

Hey there! You may want to consider restructuring your asset to fit the expected layout mentioned in the Asset Library recommendations. Something like addons/<addon name>/<content> while leaving the .gitignore, license, readme, and anything else not explicitly used in the addon itself in the root of the repository.

Then you can employ a simple .gitattributes file so that users download just your asset instead of the whole repo:

# Normalize line endings for all files that Git considers text files.
* text=auto eol=lf

# Only include the addons folder when downloading from the Asset Library.
/**        export-ignore
/addons    !export-ignore
/addons/** !export-ignore

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions