config

package
v0.0.0-...-f7f3288 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigFile string = "starkcfg.star"
View Source
var DependencyDir string = filepath.Join(".stark", "pkgs")

Functions

func FindPackageRoot

func FindPackageRoot(relativeTo string) (string, error)

Types

type StarkCfg

type StarkCfg struct {
	Filename string

	Package string
	Srcs    []string

	Deps map[string]string
}

func FindAndLoadConfig

func FindAndLoadConfig(relativeTo string) (*StarkCfg, error)

func LoadCfg

func LoadCfg(filename string) (*StarkCfg, error)

func (*StarkCfg) DependencyPath

func (cfg *StarkCfg) DependencyPath(depName string) string

Jump to

Keyboard shortcuts

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