amfora/config/default.sh
2020-07-28 16:58:32 -04:00

6 lines
186 B
Bash
Executable File

#!/usr/bin/env bash
head -n 3 default.go | tee default.go > /dev/null
echo -n 'var defaultConf = []byte(`' >> default.go
cat ../default-config.toml >> default.go
echo '`)' >> default.go