googerteller/make-built-in-config.sh

12 lines
190 B
Bash
Raw Normal View History

#!/bin/sh
2022-09-05 16:25:00 +02: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