internal

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdBuild = &command.Command{
	UsageLine: "build -p [path] -u [upx] --UpxFlag --gtk -d [dll]",
	Short:     "build energy project",
	Long: `
	Building energy project
	-p Project path, default current path. Can be configured in energy.json
	-u Set this parameter and install upx. Use upx to compress the execution file.
	  --upxFlag: Upx command line parameters 
	--gtk Compile on Linux, enable TempDll. gtk2 or gtk3
	-d Enable built-in liblcl build, 
	  windows: 
	    if < windows10 use cef_109: -tags="tempdll && win7"
	    else >= windows10 use latest: -tags="tempdll"
	  linux: gtk2 or gtk3: 
	    gtk2 use cef_106: -tags="tempdll && gtk2" 
	    gtk3 use latest: -tags="tempdll && gtk3" 
	  macos:
	    use latest: -tags="tempdll"
	
	.  Execute command
`,
}
View Source
var CmdEnv = &command.Command{
	UsageLine: "env",
	Short:     "Get ENERGY Framework Development Environment",
	Long: `
	.  Execute command
`,
}
View Source
var CmdInit = &command.Command{
	UsageLine: "init -n [name]",
	Short:     "Initialized energy project",
	Long: `
	Initialize energy golang project
	-n Initialized project name
	.  Execute command
`,
}
View Source
var CmdInstall = &command.Command{
	UsageLine: "install -p [path] -v [version] -n [name] -d [download] -os -arch -cef",
	Short:     "Automatic installation and configuration of the energy framework complete development environment",
	Long: `
	-p Installation directory Default current directory
	-v Specifying a version number,Default latest
	-n Name of the framework directory after installation, Default EnergyFramework
	-d Download Source, 0:gitee or 1:github, Default empty
	-os Specify install OS: [windows, linux, darwin], default current system: os
	-arch Specify install ARCH: [386, amd64, arm64], Default current system: architecture
	-cef Install system supports CEF version, provide 4 options, default empty
		default : Automatically select support for the latest version based on the current system.
		109 : CEF 109.1.18 is the last one to support Windows 7, windows version < 10
		106 : CEF 106.1.1 is the last default support for GTK2 in Linux.
		87  : CEF 87.1.14 is the last one to support Flash.
	.  Execute command

Auto installation and configuration of the energy framework complete development environment.
Installation package is downloaded over the network during the installation process.
`,
}
View Source
var CmdPackage = &command.Command{
	UsageLine: "package -p [path] -c [clean]",
	Short:     "Making an Installation Package",
	Long: `
	-p Project path, default current path. Can be configured in energy.json
	-c Clear configuration and regenerate the default configuration
	.  Execute command

Making an Installation Package
	Windows: 
		Creating an installation program using NSIS for Windows
	Linux: 
		Creating deb installation packages using dpkg
	MacOS:
		Generate app package for energy
`,
}
View Source
var CmdSetenv = &command.Command{
	UsageLine: "setenv -p [path]",
	Short:     "Set energy framework development environment",
	Long: `
	-p Set the Framework pointed to by the ENERGY_HOME development environment variable
	.  Execute command
`,
}
View Source
var CmdVersion = &command.Command{
	UsageLine: "package -a [all]",
	Short:     "Get version list",
	Long: `
	-a show all details
	.  Execute command
`,
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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