Skip to content

Create Unity Package (cup) is a command-line app that allows you to create Unity packages from the command line without installing Unity.

License

Notifications You must be signed in to change notification settings

abdelfattahradwan/cup

Repository files navigation

Create Unity Package (cup)

Create Unity Package (cup) is a command-line app that allows you to create Unity packages from the command line without installing Unity.

Features

  • Fast and efficient packing process
  • Create packages without installing Unity
  • Ignore files and folders automatically
  • Create packages with different compression levels

Arguments

Argument Description
-s, --src Root directory path.
-o, --out Output package file path.
-c, --cpr Level of compression. (0 = Optimal, 1 = Fastest, 2 = None, 3 = Smallest)
-e, --exclude List of file/directory paths to ignore.
--help Display this help screen.
--version Display version information.

Ignoring Files/Folders

You can ignore certain files/folders by creating a .cupignore file at the root directory path that you specify. The .cupignore file should contain glob patterns to ignore, with one pattern per line:

**/Editor/*
**/Tests/*
**/Examples/*
**/*.tmp
Assets/Scripts/Debug/**/*

These patterns will be added to any patterns specified with the -e, --exclude command-line argument.

If the file cannot be read, you will be prompted to decide whether to continue without the ignore patterns.

Downloads

There are three different flavours of binaries available to download, slim, standalone, and native:

  • A slim binary requires .NET to be installed.
  • A standalone binary does not require .NET to be installed.
  • A native binary does not require .NET to be installed.

NOTE: slim binaries require .NET 9 to be installed.

Help the Project

If you find this project useful, consider supporting it by buying me a coffee:

ko-fi

Your support is appreciated. Thank you!

About

Create Unity Package (cup) is a command-line app that allows you to create Unity packages from the command line without installing Unity.

Topics

Resources

License

Stars

Watchers

Forks

Languages