makefile

package module
v0.0.0-...-936b314 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2017 License: MIT Imports: 3 Imported by: 0

README

makefile

Linux/OSX Build Status Codecov Go Report Card Go docs

Makefile is a Go package for parsing Makefiles. It is in very early infancy and only parses simple Makefiles, and only provides a list of targets within. Contributions are welcome.

go get 4d63.com/makefile

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Makefile

type Makefile struct {
	Targets []Target
}

Makefile is a description of a parsed Makefile file.

func Unmarshal

func Unmarshal(r io.Reader) (Makefile, error)

Unmarshal parses the reader into a Makefile struct.

type Target

type Target struct {
	Name string
}

Target is a description of a single target in a Makefile.

Jump to

Keyboard shortcuts

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