rules

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Proto added in v0.24.1

func Proto(inputs, outputs, includes, otherOpts []string) (fab.Target, error)

Proto produces a target that compiles protocol-buffer files using the "protoc" command. Inputs is a list of .proto input files; outputs is a list of the expected output files; includes is a list of directories in which to find .proto files; otherOpts are options (other than -I / --proto_path options) for the protoc command line. Typically otherOpts includes at least "--foo_out=DIR" for some target language foo. This function uses deps.Proto to find the dependencies of the input files.

func Tsdecls

func Tsdecls(dir, typename, prefix, outfile string) (fab.Target, error)

Tsdecls

Types

This section is empty.

Jump to

Keyboard shortcuts

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