daddy/modd.conf

25 lines
593 B
Plaintext
Raw Normal View History

internal/graph/*.graphql
internal/gqlgen.yml {
prep: make generate
}
**/*.go
!**/*_test.go
data/config.yml
.env
modd.conf {
2020-07-16 22:51:26 +02:00
prep: make build
prep: [ -e data/config.yml ] || ( mkdir -p data && bin/server -dump-config > data/config.yml )
prep: [ -e .env ] || ( cp .env.dist .env )
prep: make migrate-latest
daemon: ( set -o allexport && source .env && set +o allexport && bin/server -workdir "./cmd/server" -config ../../data/config.yml )
}
**/*.go {
prep: make test
}
client/webpack.config.js
{
daemon: cd client && NODE_ENV=development npm run server -- --display=minimal
}