2021-02-13 02:26:07 +00:00
|
|
|
#!/usr/bin/env sh
|
2020-06-18 20:54:48 +00:00
|
|
|
|
2020-12-14 19:28:07 +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
|
2020-12-14 19:28:07 +00:00
|
|
|
echo '`)' >> default.go
|