generate:
	rm -rf .tmp
	go run ../tool/config-generator/main.go
	go run mvdan.cc/gofumpt -w ../go/pkg/config/config.gen.go
	go run github.com/daixiang0/gci write . --skip-generated -s 'standard,default,prefix(berty.tech)' ../go/pkg/config/config.gen.go
	go run github.com/campoy/embedmd -w ../go/cmd/testbot/README.md
	go run github.com/campoy/embedmd -w ../go/cmd/welcomebot/README.md

test:
	go test -v ../go/internal/config
