tinted-theming / base16-builder-go

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Go 97.9%Language:Dockerfile 1.2%Language:Shell 0.9%