Skip to content
This repository was archived by the owner on May 23, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 999 Bytes

File metadata and controls

30 lines (19 loc) · 999 Bytes

recipes

use source.cue to generate result json programmatically

if you are to just work on ../src, just the produced keybab.json is enough so you could skip anything below

Prerequisites

Build

$ make keybab.json

Develop

These are optional steps to make your debugging source.cue easier.

$ make develop # (or just `make`) to keep building `keybab.json` watching changes of `source.cue`
$ make preview # to see the result of `keybab.json` with a pager
               # unfortunately I haven't found a way for less to refresh when file changes
               # but you can type R to refresh manually when less is running
$ make follow  # to see the result of `keybab.json` watching changes of itself

Artifacts

keybab.json is intended to be used from ../src and being tracked via git alongside source.cue.