mirror of
https://github.com/makeworld-the-better-one/amfora.git
synced 2024-11-29 03:52:51 +03:00
a378eaf37a
Co-authored-by: makeworld
11 lines
206 B
Bash
Executable File
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
|