fake-smtp/modd.conf
2020-04-18 23:15:21 +02:00

19 lines
453 B
Plaintext

**/*.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
}