1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00
amfora/config/default.sh

11 lines
206 B
Bash
Raw Normal View History

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