amfora/config/default.sh
2020-07-10 15:33:39 -04:00

6 lines
186 B
Bash
Executable File

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