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.