googerteller/make-built-in-config.sh

12 lines
190 B
Bash
Raw Permalink Normal View History

#!/bin/sh
2022-09-05 09:25:00 -05:00
cd $1
(
echo \#pragma once
echo 'constexpr char tellertoml[]=R"('
cat teller.conf
echo ')";'
echo 'constexpr char trackerstoml[]=R"('
cat trackers.conf
echo ')";'
) > configs.hh