Gooball 0.5.7

Suggested Alternatives

Andtech.Gooball

Additional Details

This package has been renamed to Andtech.Gooball

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet tool install --global Gooball --version 0.5.7
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Gooball --version 0.5.7
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Gooball&version=0.5.7
nuke :add-package Gooball --version 0.5.7

Warning: This package has been renamed to [Andtech.Gooball])https://www.nuget.org/packages/Andtech.Gooball/).

Gooball (Preview)

GitHub tag

Build, test, and manage Unity projects from the command line. Develop custom Unity packages, manipulate Unity files/folders, and more.

Setup

Prerequisites

Gooball is a .NET tool and requires at least .NET Core 2.1 SDK.

Installation

To install Gooball, use dotnet tool install.

> dotnet tool install --global Gooball

You can invoke the tool using the following command: goo
Tool 'gooball' was successfully installed.

To uninstall, use dotnet tool uninstall.

> dotnet tool uninstall --global Gooball

Tool 'gooball' was successfully uninstalled.

Usage

All Gooball commands use the following grammar:

goo <CATEGORY> <COMMAND> [<OPTIONS>] <ARGUMENTS>
Category Syntax Description
Project project Manage a Unity project.
Package Development package Manage a custom Unity package.
Unity unity Project-independent unity operations.
File Transformation transform Properly manipulate a Unity file/folder.

I. Project Commands

Build a Unity Project
goo project build [--editor <EDITOR_PATH>] [<PROJECT_PATH>] [-- <ARGS...>]
  • If PROJECT_PATH is not provided, the current directory is used as the project path
  • Use the editor option to use a specific version of the Unity editor
  • ARGS... will be passed as arguments to unity.exe
Run Tests on a Unity Project
goo project test [--editor <EDITOR_PATH>] [<PROJECT_PATH>] [-- <ARGS...>]
  • If PROJECT_PATH is not provided, the current directory is used as the project path
  • Use the editor option to use a specific version of the Unity editor
  • ARGS... will be passed as arguments to unity.exe
Open a Unity Project
goo project open [--editor <EDITOR_PATH>] [<PROJECT_PATH>] [-- <ARGS...>]
  • If PROJECT_PATH is not provided, the current directory is used as the project path
  • Use the editor option to use a specific version of the Unity editor
  • ARGS... will be passed as arguments to unity.exe

Examples

Open Unity project in background
> goo project open "My Game" &
goo project get-version [<PROJECT_PATH>]
goo project get-editor-version [<PROJECT_PATH>]

II. Package Commands

goo package get-version [<PACKAGE_PATH>]
Ignore a Folder in a Package Manifest
goo package ignore-folder <PACKAGE_PATH> <FOLDER_PATH>
Bump the Version of a Package
goo package bump (--major | --minor | --patch) [<PACKAGE_PATH>]

III. Unity Commands

goo unity list-installs [<EDITOR_INSTALL_PATH>]

IV. Transformation Commands

Hide a Folder from Unity Importer
goo transform hide-folder <FOLDER_PATH>
Inject Text into Unity Source Code File
goo transform inject <FILE_PATH> [<HEADERFILE_PATH>]
  • If HEADERFILE_PATH is not provided, the header is read from stdin.

Examples

File argument example
> goo transform inject Program.cs licenseHeader.txt

Stream redirection example
> cat licenseHeader.txt | goo transform inject Program.cs
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated