package
0.0.0-20230817110936-bd26d7905e47
Repository: https://github.com/mrtazz/checkmake.git
Documentation: pkg.go.dev
# Functions
NewMakefileScanner returns a MakefileScanner struct for parsing a Makefile.
Parse is the main function to parse a Makefile from a file path string to a Makefile struct.
# Structs
Makefile provides a data structure to describe a parsed Makefile.
MakefileScanner is a wrapping struct around bufio.Scanner which provides extra functionality like the current line number.
Rule represents a Make rule.
Variable represents a Make variable.
# Type aliases
RuleList represents a list of rules.
VariableList represents a list of variables.