1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-29 20:05:23 +00:00
amfora/config/default.sh

11 lines
206 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env sh
2020-06-18 20:54:48 +00:00
cat > default.go <<-EOF
package config
//go:generate ./default.sh
EOF
2020-06-18 20:54:48 +00:00
echo -n 'var defaultConf = []byte(`' >> default.go
cat ../default-config.toml >> default.go
echo '`)' >> default.go