1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-11-03 02:37:23 -05:00
amfora/config/default.sh
Peter Steinberg a378eaf37a
Add more about: pages (#187)
Co-authored-by: makeworld
2021-02-12 21:26:07 -05:00

11 lines
206 B
Bash
Executable File

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