fake-sms/modd.conf
2020-12-21 15:59:07 +01:00

19 lines
449 B
Plaintext

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