Documentation ¶
Index ¶
- Constants
- Variables
- func ADD_ANDROID_MODULES_INCLUDE(module string)
- func ANDROID_EXTRA_LIBS() string
- func ANDROID_MODULES_INCLUDE() string
- func ANDROID_NDK_DIR() string
- func ANDROID_NDK_MAJOR_VERSION() int
- func ANDROID_NDK_NOSTDLIBPP_LDFLAG() string
- func ANDROID_NDK_PLATFORM() string
- func ANDROID_NDK_REQUIRE_NOSTDLIBPP_LDFLAG() bool
- func ANDROID_SDK_DIR() string
- func AppendToFlag(flags []string, flag, content string) []string
- func BuildTags(tags []string) string
- func CGO_CFLAGS_ALLOW() string
- func CGO_CXXFLAGS_ALLOW() string
- func CGO_LDFLAGS_ALLOW() string
- func CGO_MSCFLAGS_ALLOW() string
- func CGO_MSCXXFLAGS_ALLOW() string
- func CGO_MSLDFLAGS_ALLOW() string
- func CI() bool
- func CheckBuildTarget(buildTarget string, docker bool)
- func Debug()
- func ExistsDir(name string) bool
- func ExistsFile(name string) bool
- func GOARCH() string
- func GOARM() (string, bool)
- func GOBIN() string
- func GOFLAGS() string
- func GOMOD(path string) string
- func GOPATH() string
- func GOVERSION() (r string)
- func GOVERSION_NUM() int
- func GOVSVARSPATH() string
- func GoList(args ...string) *exec.Cmd
- func GoListOptional(args ...string) (r string)
- func GoQtPkgPath(s ...string) (r string)
- func IPHONEOS_SDK_DIR() string
- func IPHONESIMULATOR_SDK_DIR() string
- func IsMsys2QtDir() bool
- func JDK_DIR() string
- func Load(name string) string
- func LoadOptional(name string) string
- func MACOS_SDK_DIR() string
- func MINGWDIR() string
- func MINGWTOOLSDIR() string
- func MSYSTEM() string
- func MSYS_DOCKER() bool
- func MkdirAll(dir string) error
- func MustGoPath() string
- func QT_API(def string) string
- func QT_API_NUM(def string) int
- func QT_DARWIN_DIR() string
- func QT_DEBUG() bool
- func QT_DEBUG_CONSOLE() bool
- func QT_DEBUG_CPP() bool
- func QT_DEBUG_QML() bool
- func QT_DIR() string
- func QT_DISTRO() string
- func QT_DOCKER() bool
- func QT_DOC_DIR() string
- func QT_DYNAMIC_SETUP() bool
- func QT_FAT() bool
- func QT_FELGO() bool
- func QT_FELGO_LIVE() bool
- func QT_GEN_DART() bool
- func QT_GEN_GO_WRAPPER() bool
- func QT_GEN_HAXE() bool
- func QT_GEN_OPENGL() bool
- func QT_GEN_QUICK_EXTRAS() bool
- func QT_GEN_SWIFT() bool
- func QT_GEN_TSD() bool
- func QT_HOMEBREW() bool
- func QT_INSTALL_PREFIX(target string) (r string)
- func QT_MACPORTS() bool
- func QT_MISC_DIR() string
- func QT_MSVC() bool
- func QT_MSYS2() bool
- func QT_MSYS2_ARCH() string
- func QT_MSYS2_DIR() string
- func QT_MSYS2_STATIC() bool
- func QT_MXE() bool
- func QT_MXE_ARCH() string
- func QT_MXE_BIN(tool string) string
- func QT_MXE_DIR() string
- func QT_MXE_STATIC() bool
- func QT_MXE_TRIPLET() string
- func QT_NIX() bool
- func QT_NOT_CACHED() bool
- func QT_PKG_CONFIG() bool
- func QT_QMAKE_DIR() string
- func QT_RESOURCES_BIG() bool
- func QT_RPI() bool
- func QT_SAILFISH() bool
- func QT_SAILFISH_VERSION() string
- func QT_STATIC() bool
- func QT_STUB() bool
- func QT_UBPORTS() bool
- func QT_UBPORTS_ARCH() string
- func QT_UBPORTS_VERSION() string
- func QT_VAGRANT() bool
- func QT_VERSION() string
- func QT_VERSION_MAJOR() string
- func QT_VERSION_NUM() int
- func QT_WEBKIT() bool
- func RPI1_SYSROOT_DIR() string
- func RPI2_SYSROOT_DIR() string
- func RPI3_SYSROOT_DIR() string
- func RPI_COMPILER() string
- func RPI_TOOLS_DIR() string
- func RemoveAll(name string) error
- func RunCmd(cmd *exec.Cmd, name string) string
- func RunCmdOptional(cmd *exec.Cmd, name string) string
- func RunCmdOptionalError(cmd *exec.Cmd, name string) (string, error)
- func SAILFISH_DIR() string
- func Save(name, data string) error
- func SaveBytes(name string, data []byte) error
- func SaveExec(name, data string) error
- func ToolPath(tool, target string) string
- func UseGOMOD(path string) (r bool)
- func VIRTUALBOX_DIR() string
- func WalkFilterBlacklist(root string, f filepath.WalkFunc) filepath.WalkFunc
- func WalkFilterPrefix(f filepath.WalkFunc, prefixes ...string) filepath.WalkFunc
- func WalkOnlyDirectory(f filepath.WalkFunc) filepath.WalkFunc
- func WalkOnlyExtension(f filepath.WalkFunc, extensions ...string) filepath.WalkFunc
- func WalkOnlyFile(f filepath.WalkFunc) filepath.WalkFunc
- func XCODE_DIR() string
Constants ¶
const PackageName = "github.com/bluszcz/cutego"
Variables ¶
var Log = logrus.New()
Functions ¶
func ADD_ANDROID_MODULES_INCLUDE ¶
func ADD_ANDROID_MODULES_INCLUDE(module string)
func ANDROID_EXTRA_LIBS ¶
func ANDROID_EXTRA_LIBS() string
func ANDROID_MODULES_INCLUDE ¶
func ANDROID_MODULES_INCLUDE() string
func ANDROID_NDK_DIR ¶
func ANDROID_NDK_DIR() string
func ANDROID_NDK_MAJOR_VERSION ¶
func ANDROID_NDK_MAJOR_VERSION() int
func ANDROID_NDK_NOSTDLIBPP_LDFLAG ¶
func ANDROID_NDK_NOSTDLIBPP_LDFLAG() string
ANDROID_NDK_NOSTDLIBPP_LDFLAG return -nostdlib++ or empty string if that flag is no required by Android NDK
func ANDROID_NDK_PLATFORM ¶
func ANDROID_NDK_PLATFORM() string
ANDROID_NDK_PLATFORM returns the Android API level to use in the building process
func ANDROID_NDK_REQUIRE_NOSTDLIBPP_LDFLAG ¶
func ANDROID_NDK_REQUIRE_NOSTDLIBPP_LDFLAG() bool
ANDROID_NDK_REQUIRE_NOSTDLIBPP_LDFLAG returns true if the -nostdlib++ flag is required by Android NDK and false otherwise
func ANDROID_SDK_DIR ¶
func ANDROID_SDK_DIR() string
func AppendToFlag ¶
AppendToFlag is a quick function that appends content to a flag if is already defined
func CGO_CFLAGS_ALLOW ¶
func CGO_CFLAGS_ALLOW() string
func CGO_CXXFLAGS_ALLOW ¶
func CGO_CXXFLAGS_ALLOW() string
func CGO_LDFLAGS_ALLOW ¶
func CGO_LDFLAGS_ALLOW() string
func CGO_MSCFLAGS_ALLOW ¶
func CGO_MSCFLAGS_ALLOW() string
func CGO_MSCXXFLAGS_ALLOW ¶
func CGO_MSCXXFLAGS_ALLOW() string
func CGO_MSLDFLAGS_ALLOW ¶
func CGO_MSLDFLAGS_ALLOW() string
func CheckBuildTarget ¶
func ExistsFile ¶
func GOVERSION_NUM ¶
func GOVERSION_NUM() int
func GOVSVARSPATH ¶
func GOVSVARSPATH() string
func GoListOptional ¶
func GoQtPkgPath ¶
func IPHONEOS_SDK_DIR ¶
func IPHONEOS_SDK_DIR() string
func IPHONESIMULATOR_SDK_DIR ¶
func IPHONESIMULATOR_SDK_DIR() string
func IsMsys2QtDir ¶
func IsMsys2QtDir() bool
func MACOS_SDK_DIR ¶
func MACOS_SDK_DIR() string
func MINGWTOOLSDIR ¶
func MINGWTOOLSDIR() string
func MSYS_DOCKER ¶
func MSYS_DOCKER() bool
func QT_API_NUM ¶
func QT_DARWIN_DIR ¶
func QT_DARWIN_DIR() string
func QT_DEBUG_CONSOLE ¶
func QT_DEBUG_CONSOLE() bool
func QT_DEBUG_CPP ¶
func QT_DEBUG_CPP() bool
func QT_DEBUG_QML ¶
func QT_DEBUG_QML() bool
func QT_DOC_DIR ¶
func QT_DOC_DIR() string
func QT_DYNAMIC_SETUP ¶
func QT_DYNAMIC_SETUP() bool
func QT_FELGO_LIVE ¶
func QT_FELGO_LIVE() bool
func QT_GEN_DART ¶
func QT_GEN_DART() bool
func QT_GEN_GO_WRAPPER ¶
func QT_GEN_GO_WRAPPER() bool
func QT_GEN_HAXE ¶
func QT_GEN_HAXE() bool
func QT_GEN_OPENGL ¶
func QT_GEN_OPENGL() bool
func QT_GEN_QUICK_EXTRAS ¶
func QT_GEN_QUICK_EXTRAS() bool
func QT_GEN_SWIFT ¶
func QT_GEN_SWIFT() bool
func QT_GEN_TSD ¶
func QT_GEN_TSD() bool
func QT_HOMEBREW ¶
func QT_HOMEBREW() bool
func QT_INSTALL_PREFIX ¶
func QT_MACPORTS ¶
func QT_MACPORTS() bool
func QT_MISC_DIR ¶
func QT_MISC_DIR() string
func QT_MSYS2_ARCH ¶
func QT_MSYS2_ARCH() string
func QT_MSYS2_DIR ¶
func QT_MSYS2_DIR() string
func QT_MSYS2_STATIC ¶
func QT_MSYS2_STATIC() bool
func QT_MXE_ARCH ¶
func QT_MXE_ARCH() string
func QT_MXE_BIN ¶
func QT_MXE_DIR ¶
func QT_MXE_DIR() string
func QT_MXE_STATIC ¶
func QT_MXE_STATIC() bool
func QT_MXE_TRIPLET ¶
func QT_MXE_TRIPLET() string
func QT_NOT_CACHED ¶
func QT_NOT_CACHED() bool
func QT_PKG_CONFIG ¶
func QT_PKG_CONFIG() bool
func QT_QMAKE_DIR ¶
func QT_QMAKE_DIR() string
func QT_RESOURCES_BIG ¶
func QT_RESOURCES_BIG() bool
func QT_SAILFISH ¶
func QT_SAILFISH() bool
func QT_SAILFISH_VERSION ¶
func QT_SAILFISH_VERSION() string
func QT_UBPORTS ¶
func QT_UBPORTS() bool
func QT_UBPORTS_ARCH ¶
func QT_UBPORTS_ARCH() string
func QT_UBPORTS_VERSION ¶
func QT_UBPORTS_VERSION() string
func QT_VAGRANT ¶
func QT_VAGRANT() bool
func QT_VERSION ¶
func QT_VERSION() string
func QT_VERSION_MAJOR ¶
func QT_VERSION_MAJOR() string
func QT_VERSION_NUM ¶
func QT_VERSION_NUM() int
func RPI1_SYSROOT_DIR ¶
func RPI1_SYSROOT_DIR() string
func RPI2_SYSROOT_DIR ¶
func RPI2_SYSROOT_DIR() string
func RPI3_SYSROOT_DIR ¶
func RPI3_SYSROOT_DIR() string
func RPI_COMPILER ¶
func RPI_COMPILER() string
func RPI_TOOLS_DIR ¶
func RPI_TOOLS_DIR() string
func SAILFISH_DIR ¶
func SAILFISH_DIR() string
func VIRTUALBOX_DIR ¶
func VIRTUALBOX_DIR() string
func WalkFilterBlacklist ¶
WalkFilterBlacklist filter out blacklisted file
func WalkFilterPrefix ¶
WalkFilterPrefix only process file that do not have specified prefix
func WalkOnlyDirectory ¶
WalkFilterDirectory only allow directory
func WalkOnlyExtension ¶
WalkOnlyExtension only process file (not directory) that their extension is specified, without the `.` such as `go` or `html`.
func WalkOnlyFile ¶
WalkOnlyFile is opposite of WalkFilterDirectory, it only allow file
Types ¶
This section is empty.