fake-sms/modd.conf

19 lines
449 B
Plaintext
Raw Permalink Normal View History

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