scriptruner

package
v0.0.0-...-5e42f97 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const LUAHOMEDir = "~/"
View Source
const LuaiNSTALLdIR = "/"

Variables

View Source
var InternalFiles embed.FS

Functions

func CmdArrayToLua

func CmdArrayToLua(l *lua.LState, list []CommandInfo) lua.LValue

func DoMigrationIfNeeded

func DoMigrationIfNeeded(externalpluginspath string) error

func RunScript

func RunScript(input ScriptRunerInput)

func StringArrayEquals

func StringArrayEquals(a []Dependsoninfo, b []Dependsoninfo) bool

Types

type CommandInfo

type CommandInfo struct {
	// contains filtered or unexported fields
}

type Config

type Config struct {
	// contains filtered or unexported fields
}

func FindConfigWithFlag

func FindConfigWithFlag(context *PreBuildContext, flags []Dependsoninfo, flag string, value string) (*Config, bool)

type Dependsoninfo

type Dependsoninfo struct {
	// contains filtered or unexported fields
}

type EnumFlag

type EnumFlag struct {
	FlagName     string
	Values       []string
	DefaultValue string
}

type Flag

type Flag struct {
	FlagName     string
	DefaultValue bool
}

type InputFile

type InputFile struct {
	// contains filtered or unexported fields
}

type Loadedplugin

type Loadedplugin struct {
	// contains filtered or unexported fields
}

type LockFileFormat

type LockFileFormat struct {
	Version  int         `json:"Version"`
	Direct   []PluginRef `json:"Direct"`
	Indirect []PluginRef `json:"Indirect"`
}

type MasterPluginsFileFormat

type MasterPluginsFileFormat struct {
	Version int `json:"Version"`
}

type PluginRef

type PluginRef struct {
	Url  string
	Hash string
}

type PreBuildContext

type PreBuildContext struct {
	// contains filtered or unexported fields
}

type ScriptRunerInput

type ScriptRunerInput struct {
	ScriptText    string
	ScriptPath    string
	Target        string
	IsTestingMode bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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