haskell

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discover

func Discover(baseDir string, options map[string]interface{}) ([]module.Module, error)

func NewModule

func NewModule(moduleName string, relativeDir string, strategy Strategy) module.Module

Types

type Analyzer

type Analyzer struct {
	Module    module.Module
	AnalyzeFn func(module.Module) (graph.Deps, error)
}

func New

func New(m module.Module) (*Analyzer, error)

func (*Analyzer) Analyze

func (a *Analyzer) Analyze() (graph.Deps, error)

func (Analyzer) Build

func (Analyzer) Build() error

func (Analyzer) Clean

func (Analyzer) Clean() error

func (Analyzer) IsBuilt

func (Analyzer) IsBuilt() (bool, error)

type Options

type Options struct {
	Strategy Strategy `mapstructure:"strategy"`
}

type Strategy

type Strategy string
const (
	CabalInstall Strategy = "cabal-install"
	Stack        Strategy = "stack"
)

Jump to

Keyboard shortcuts

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