belak/base16-builder-go

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

50

stars

73

commits

Go

primary language

Sep 6, 2024

updated

base16
base16-builder
base24
Browse cluster: Base16 & Base24 Color Schemes

README

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

Contributors

belak

69 commits

JamyGolden

2 commits

martinlindhe

1 commits

mnussbaum

1 commits

belak/base16-builder-go

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

50

stars

73

commits

Go

primary language

Sep 6, 2024

updated

base16
base16-builder
base24
Browse cluster: Base16 & Base24 Color Schemes

README

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

Contributors

belak

69 commits

JamyGolden

2 commits

martinlindhe

1 commits

mnussbaum

1 commits

Languages

Go

98.0%

Dockerfile

1.2%