Help us shape the future of Go! Take the 2026 Go Developer Survey

tools

package module
v1.7.4-0...-9086317 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

README

Инструменты Granio

Сборка, упаковка и подготовка окружения приложений Granio.

Основной исходник: https://github.com/fyne-io/tools. Цель форка: сопровождать инструменты, кросс-сборку, образы, мобильный мост и среду разработки в одном репозитории. Истории, лицензии и авторские сведения сохранены; дополнительные источники перечислены в SOURCES.json.

Компонент Путь Исходник
Упаковщик cmd/granio tools
Проверка окружения cmd/granio_setup, библиотека setup/pkg setup
Кросс-сборка cross/cmd/granio_cross fyne-cross
Рецепты образов cross-images fyne-cross-images
Мобильный мост mobile-bridge gomobile-bridge
Среда разработки studio defyne

Go 1.27.1+. Кросс-сборка и мобильный мост сохраняют отдельные Go-модули: зависимости Kubernetes и AWS не включаются в модуль обычного упаковщика.

go install github.com/Uzer007-admin/granio-tools/cmd/granio@9286299481eeb6500361436638266dc5a612258b
go install github.com/Uzer007-admin/granio-tools/cmd/granio_setup@9286299481eeb6500361436638266dc5a612258b
go install github.com/Uzer007-admin/granio-tools/cross/cmd/granio_cross@9286299481eeb6500361436638266dc5a612258b
go install github.com/Uzer007-admin/granio-tools/studio@9286299481eeb6500361436638266dc5a612258b

Для локальной проверки каждого модуля задайте GOWORK=off и выполните go test -race -tags migrated_fynedo,ci ./... в корне модуля. Мобильный мост используется как replace для golang.org/x/mobile; его новый адрес — github.com/Uzer007-admin/granio-tools/mobile-bridge.

Рецепты образов находятся в cross-images; сборка и публикация образов, доступность платформенных SDK и приёмка мобильных приложений проверяются отдельно. Флаги упаковщика, используемые существующими сценариями, сохраняются. Материалы исходного проекта.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandInShell

func CommandInShell(cmd stringLiteral, args ...string) *exec.Cmd

CommandInShell sets up a new command with the environment set up by user's environment. In darwin or other Unix systems the shell will be loaded by running the terminal and accessing env command. The command is run directly so stdout and stderr can be read directly from the returned `exec.Cmd`. The cmd parameter must be a string constant to avoid possible code injection attacks.

Types

This section is empty.

Directories

Path Synopsis
cmd
granio command
Run a command line helper for various Fyne tools.
Run a command line helper for various Fyne tools.
granio/internal/mobile
Package mobile is a partial clone of the golang.org/x/mobile/cmd/gomobile package.
Package mobile is a partial clone of the golang.org/x/mobile/cmd/gomobile package.
granio/internal/mobile/binres
Package binres implements encoding and decoding of android binary resources.
Package binres implements encoding and decoding of android binary resources.
granio/internal/mobile/gendex command
Gendex generates a dex file used by Go apps created with gomobile.
Gendex generates a dex file used by Go apps created with gomobile.
granio_setup command
cross module
setup
pkg
Package pkg provides the public API elements of our setup tool.
Package pkg provides the public API elements of our setup tool.

Jump to

Keyboard shortcuts

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