ofborg/scripts/merge-config.sh
Graham Christensen 1326fdbe33
Commit most of the prod config
Include tools for generating the known user
list, and a thing to allow me to keep secrets
out of the main config while still keeping
almost exactly my config in version control
nearby.
2018-01-27 08:15:43 -05:00

5 lines
185 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -p bash -p jq -p curl -i bash
jq -s '.[0] * .[1] * .[2]' ./config.public.json ./config.known-users.json ./config.private.json > ./config.prod.json