Documentation
¶
Index ¶
- type BuildOptions
- type NinjaWriter
- func (w *NinjaWriter) Build(outputs []string, rule string, options BuildOptions)
- func (w *NinjaWriter) Default(paths []string)
- func (w *NinjaWriter) Include(path string)
- func (w *NinjaWriter) Rule(name string, cmd string, options RuleOptions)
- func (w *NinjaWriter) Subninja(path string)
- func (w *NinjaWriter) Variable(name string, value string)
- type RuleOptions
- type Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildOptions ¶
type NinjaWriter ¶
type NinjaWriter struct {
// contains filtered or unexported fields
}
func MakeNinjaWriter ¶
func MakeNinjaWriter(out io.Writer) *NinjaWriter
func (*NinjaWriter) Build ¶
func (w *NinjaWriter) Build(outputs []string, rule string, options BuildOptions)
func (*NinjaWriter) Default ¶
func (w *NinjaWriter) Default(paths []string)
func (*NinjaWriter) Include ¶
func (w *NinjaWriter) Include(path string)
func (*NinjaWriter) Rule ¶
func (w *NinjaWriter) Rule(name string, cmd string, options RuleOptions)
func (*NinjaWriter) Subninja ¶
func (w *NinjaWriter) Subninja(path string)
func (*NinjaWriter) Variable ¶
func (w *NinjaWriter) Variable(name string, value string)
Top-level variable
type RuleOptions ¶
Click to show internal directories.
Click to hide internal directories.