hydroflow

package module
v0.0.0-...-ad01bcd Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: MIT Imports: 4 Imported by: 0

README

Hydroflow

Because Hydrogen is lighter than air

Documentation

Index

Constants

View Source
const MakefileTemplate string = `` /* 508-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Hydroflow

type Hydroflow struct {
	Name      string `yaml:"name"`
	Author    string `yaml:"author"`
	TargetDir string `yaml:"target_directory"`
	Rules     []Rule `yaml:"rules"`
}

func (Hydroflow) GenerateMakefile

func (h Hydroflow) GenerateMakefile() (string, error)

func (Hydroflow) Sinks

func (h Hydroflow) Sinks() string

func (Hydroflow) Validate

func (h Hydroflow) Validate() error

type Rule

type Rule struct {
	Target        string   `yaml:"target"`
	Recipe        []string `yaml:"recipe"`
	UpdatesTarget bool     `yaml:"updates_target"`
	Prerequisites []string `yaml:"prerequisites"`
}

func (Rule) EscapedRecipe

func (r Rule) EscapedRecipe() []string

Directories

Path Synopsis
cmd
cli

Jump to

Keyboard shortcuts

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