params

package
v0.0.0-...-646cdf5 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AugmentPluginVersion

func AugmentPluginVersion(currentVersion, buildNumber string) (string, error)

func GetFoldersToPack

func GetFoldersToPack(args CommandLineArguments) (folders []string, err error)

func GetPluginDirectory

func GetPluginDirectory(args CommandLineArguments) (string, error)

func GetPluginName

func GetPluginName(args CommandLineArguments, pluginXml PluginXML) (string, error)

func GetPluginVersion

func GetPluginVersion(args CommandLineArguments, pluginXML PluginXML) (buildNumber string, err error)

Types

type CommandLineArguments

type CommandLineArguments struct {
	Version              string
	Name                 string
	BuildNumber          string
	Directory            string
	Folders              []string
	IncrementBuildNumber bool
	AddDeveloperSuffix   bool
	PreserveBuild        bool
	IsJar                bool
	DependencyChunkSize  int
	PackedLib            bool
}

func GetCommandLineArguments

func GetCommandLineArguments() (args CommandLineArguments)

type PluginMeta

type PluginMeta struct {
	Name      string
	Version   string
	Directory string
	Folders   []string
}

type PluginXML

type PluginXML struct {
	Key     string `xml:"key"`
	Version string `xml:"version"`
}

func ReadPluginXML

func ReadPluginXML(pluginDirectory string) (p PluginXML, err error)

Jump to

Keyboard shortcuts

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