Documentation
¶
Index ¶
Constants ¶
View Source
const (
OpenMPCompilerReleaseAPI = "https://api.github.com/repos/openmultiplayer/compiler/releases/latest"
)
Variables ¶
View Source
var ( ErrNoCompilerAsset = errors.New("no compatible openmultiplayer compiler asset found") ErrMissingCompilerDigest = errors.New("compiler release asset has no SHA-256 digest") )
View Source
var ErrPawnCCNotFound = errors.New("pawncc not found")
Functions ¶
Types ¶
type Compiler ¶
Compiler configures pawncc and its library paths.
func FindCachedCompiler ¶
func InstallOpenMPCompiler ¶
type DiagnosticExpectation ¶
func DiagnosticExpectations ¶
func DiagnosticExpectations(path string) ([]DiagnosticExpectation, error)
type DiagnosticResult ¶
func CheckDiagnostics ¶
func CheckDiagnostics(path string, opts Options, expected []DiagnosticExpectation) (DiagnosticResult, error)
Click to show internal directories.
Click to hide internal directories.