Skip to content

A base16 builder written in go, focused on convenience for template maintainers.

License

Notifications You must be signed in to change notification settings

tinted-theming/base16-builder-go

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

base16-builder-go

A simple builder for base16 templates and schemes.

This currently implements version 0.11.0 of the base16 spec.

Building

Currently version 1.16 or higher of the Go compiler is needed.

Unfortunately, because the schemes are stored in a separate repo, the schemes submodule needs to be cloned before building.

The following command will clone the schemes directory

$ git submodule update --init

Now that the repo is cloned, you can use go build to create a binary. You may wish to update the schemes dir to get new included schemes.

Commands

By default, this builder will build the template in the the current directory using the compiled-in schemes. If you want to update schemes independently, you can use the -schemes-dir flag to point to another directory.

Usage of base16-builder-go:
  -schemes-dir string
    	Target directory for scheme data. The default value uses internal schemes. (default "-")
  -template-dir string
    	Target template directory to build. (default ".")
  -verbose
    	Log all debug messages