deps

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: EPL-1.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deps

type Deps struct {
	Pkgs []string
	Deps map[string]map[string]string
	// contains filtered or unexported fields
}

Deps is a struct that contains all the dependencies for the Glojure application.

func Load

func Load() (*Deps, error)

func (*Deps) Embed

func (d *Deps) Embed() error

Embed generates an gljembed.go file that embeds the directories from gljdeps.edn's pkgs and adds them to the Glojure load path when imported.

func (*Deps) GLJ

func (d *Deps) GLJ() error

GLJ generates a Go main package in glj/cmd/glj/main.go that implements the glj command with the project's dependencies and packages available.

func (*Deps) Gen

func (d *Deps) Gen() error

func (*Deps) Get

func (d *Deps) Get() error

Get gets the dependencies for the given package and generates a package map for any go dependencies.

Jump to

Keyboard shortcuts

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