An open API service indexing awesome lists of open source software.

https://github.com/tinted-theming/base16-builder-elixir

An Elixir implementation of a Base16 builder.
https://github.com/tinted-theming/base16-builder-elixir

base16 cli elixir

Last synced: 9 months ago
JSON representation

An Elixir implementation of a Base16 builder.

Awesome Lists containing this project

README

          

# base16-builder-elixir
[![CircleCI](https://circleci.com/gh/obahareth/base16-builder-elixir.svg?style=svg)](https://circleci.com/gh/obahareth/base16-builder-elixir)

This is a base16 builder written in Elixir as defined by the [base16 builder guidelines](https://github.com/tinted-theming/home/blob/cc34890294402b9052b528e107f5b6b5ae15fdff/builder.md) version 0.9.0

## Usage Requirements
Either [Erlang](http://erlang.org) or [Docker](https://docker.com).

## Development Requirements
* [Elixir](https://elixir-lang.org) 1.5.0+.

To acquire dependencies, run:

```bash
mix deps.get
```

## Usage

### Docker

```bash
docker run -v $(pwd)/out:/out obahareth/base16-builder-elixir
```

You'll find the files in `./out` after the builder completes the building process.

_Note: Building through Docker is [somewhat slow](https://github.com/obahareth/base16-builder-elixir/issues/2) at the moment, this should be looked at._

### With Erlang Installed

```bash
base16_builder

Acquires git repositories containing templates and schemes to build base16
themes as defined in the builder guidelines:
https://github.com/tinted-theming/home/blob/main/builder.md

Usage:
./base16_builder # Runs the build command.
./base16_builder build # Builds Base16 themes, runs update if required repositories don't exist.
./base16_builder update # Re-acquires git repositories or creates them if they don't exist.
./base16_builder help # Prints this help message.
```