fake-smtp/modd.conf

19 lines
453 B
Plaintext
Raw Normal View History

2020-04-17 17:53:01 +02:00
**/*.go
!**/*_test.go
data/config.yml
.env
**/fake-smtp/template/**/*.tmpl
modd.conf {
prep: make build
prep: [ -e data/config.yml ] || ( mkdir -p data && bin/fake-smtp -dump-config > data/config.yml )
prep: [ -e .env ] || ( cp .env.dist .env )
daemon: ( set -o allexport && source .env && set +o allexport && bin/fake-smtp -workdir "./cmd/fake-smtp" -config ../../data/config.yml )
}
**/*.go {
prep: make test
}
{
daemon: npm run watch
}