advmake

package module
v0.0.0-...-785026b Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

README

AdvMake

Small and simple build system more advanced than make
Installation

AdvMake can install itself. Simply run go build to compile and then sudo ./advmake install to install on Linux, or sudo ./advmake macos_install to install on macOS.

Configuration

AdvMake's build files are written in Starlark which is a Python-like language meant for configuration files.

For documentation on build files, read the Build File Documentation.

Warning

AdvMake's build files are able to execute any command. As with any script, be careful executing untrusted code, especially as root.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Predeclared = starlark.StringDict{
	"runtime":  starconv.NewStruct(NewRuntime()),
	"encoding": starconv.NewStruct(NewEncoding()),
	"file":     starconv.NewStruct(NewFile()),
	"strings":  starconv.NewStruct(NewStrings()),
	"input":    starconv.NewStruct(NewInput()),
	"url":      starconv.NewStruct(NewURL()),
	"shell":    starconv.NewStruct(NewShell()),
	"net":      starconv.NewStruct(NewNet()),
	"log":      starconv.NewStruct(NewLog()),
	"fmt":      starconv.NewStruct(NewFmt()),
	"print":    starlark.None,
}

Set predeclared values, including previously set builtins

Functions

func NewEncoding

func NewEncoding() *starlarkEncoding

func NewFile

func NewFile() *file

func NewFmt

func NewFmt() *starlarkFmt

func NewInput

func NewInput() *input

func NewLog

func NewLog() *starlarkLog

func NewNet

func NewNet() *starlarkNet

func NewRuntime

func NewRuntime() *starlarkRuntime

func NewShell

func NewShell() *shell

func NewStrings

func NewStrings() *starlarkStrings

func NewURL

func NewURL() *starlarkURL

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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