tooling

package
v0.0.0-...-ff35923 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AndroidDebugBridge = toolchain{
	Name:          "adb",
	Version:       "1.0.41",
	VersionFlag:   "--version",
	VersionPrefix: "Android Debug Bridge version 1.0.41",
	DownloadURL:   "https://release.graphics.gd/adb.$(GOOS).$(GOARCH)$(EXT)",
	DownloadEXT:   map[string]string{"linux": "", "windows": ".zip", "darwin": ""},
	RequiredFor:   "launching the project on a connected android device",
}
View Source
var AndroidPackageSigner = toolchain{
	Name:        "apksigner",
	Version:     "0.9",
	VersionFlag: "--version",
	DownloadURL: "https://release.graphics.gd/apksigner.$(GOOS).$(GOARCH)",
	RequiredFor: "building the .apk",
}
View Source
var Go = toolchain{
	Name:          "go",
	VersionFlag:   "version",
	Version:       "1.25.0",
	DownloadHint:  "https://go.dev/dl/",
	VersionPrefix: "go version go1.25.",
	RequiredFor:   "compiling",

	ConvertArguments: map[string]string{
		"--verbose": "-v",
	},
}
View Source
var Godot = toolchain{
	Name:          "godot",
	Version:       "4.5",
	VersionFlag:   "--version",
	VersionPrefix: "4.5.",
	DownloadHint:  "https://godotengine.org/download",
	DownloadURL:   "https://github.com/godotengine/godot/releases/download/$(VERSION)-stable/Godot_v$(VERSION)-stable_$(OS).zip",
	DownloadOS:    map[string]string{"windows": "win64.exe", "linux": "linux.$(ARCH)", "darwin": "macos.universal"},
	DownloadARCH:  map[string]string{"amd64": "x86_64", "arm64": "arm64"},
	Unzip:         "Godot_v$(VERSION)-stable_$(OS)",
	IsApp:         true,
	RequiredFor:   "graphics",

	ConvertArguments: map[string]string{
		"-v": "--verbose",
	},
}
View Source
var UltimatePackerForExecutables = toolchain{
	Name:          "upx",
	Version:       "5.0.2",
	VersionFlag:   "--version",
	VersionPrefix: "upx 5.0.2",
	DownloadHint:  "https://github.com/upx/upx/releases/latest",
	Downloads: map[string]map[string]string{
		"windows": {
			"amd64": "https://github.com/upx/upx/releases/download/v$(VERSION)/upx-$(VERSION)-win64.zip",
		},
	},
	DownloadURL:  "https://github.com/upx/upx/releases/download/v$(VERSION)/upx-$(VERSION)-$(ARCH)_$(OS).zip",
	DownloadOS:   map[string]string{"linux": "linux"},
	DownloadARCH: map[string]string{"amd64": "amd64", "arm64": "arm64"},
	RequiredFor:  "minifying builds",
}
View Source
var Velopack = toolchain{
	Name:          "vpk",
	Version:       "0.0.1298",
	VersionFlag:   "--help",
	VersionPrefix: "Description:\n  Velopack CLI 0.0.1298,",
	RequiredFor:   "self-updating-bundles",
}
View Source
var Zig = toolchain{
	Name:         "zig",
	Version:      "0.15.1",
	VersionFlag:  "version",
	DownloadHint: "https://ziglang.org/download/",
	DownloadURL:  "https://ziglang.org/download/$(VERSION)/zig-$(ARCH)-$(OS)-$(VERSION)$(EXT)",
	DownloadOS:   map[string]string{"windows": "windows", "darwin": "macos", "linux": "linux"},
	DownloadARCH: map[string]string{"amd64": "x86_64", "arm64": "aarch64"},
	DownloadEXT:  map[string]string{"windows": ".zip", "darwin": ".tar.xz", "linux": ".tar.xz"},
	RequiredFor:  "cross-compiling",
}

Functions

func ExtractArchive

func ExtractArchive(src, dest, archiveType, targetFile string, stripTopDir bool) error

ExtractArchive is the main entry point for extracting archives

Types

This section is empty.

Jump to

Keyboard shortcuts

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