project

package
v0.0.0-...-535787f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Name              string // Name of the current project (the name of the directory where go.mod is located).
	Directory         string // Directory of the current project (where go.mod is located).
	GraphicsDirectory string // Graphics directory.
	ReleasesDirectory string // Releases directory (Directory + "/releases"

	IncludesGo bool
)

Functions

func AndroidSafePackageName

func AndroidSafePackageName(name string) string

func AppleSafePackageName

func AppleSafePackageName(name string) string

func CopyDir

func CopyDir(src, dst string) error

CopyDir recursively copies a directory tree from src to dst. It returns an error if the copy operation fails.

func CopyFile

func CopyFile(src, dst string) error

CopyFile copies a single file from src to dst

func Setup

func Setup() error

func SetupFile

func SetupFile(force bool, name, embed string, args ...any) error

func SetupFiles

func SetupFiles(embedded embed.FS, embedRoot, targetDir string) error

SetupFiles writes the contents of an embed.FS to the target directory on the OS filesystem.

func SetupIcon

func SetupIcon() error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL