guesstimate/modd.conf

19 lines
537 B
Plaintext
Raw Normal View History

server/**/*.go
!server/**/*_test.go
server/data/config.yml
.env
modd.conf {
prep: make build-server
prep: cd server && [ -e data/config.yml ] || ( mkdir -p data && bin/server -dump-config > data/config.yml )
prep: cd server && [ -e .env ] || ( cp .env.dist .env )
daemon: cd server && ( set -o allexport && source .env && set +o allexport && bin/server -config data/config.yml )
}
{
daemon: cd client && npm run dev
}
server/**/*.go
server/**/*_test.go {
prep: cd server && go clean -testcache && go test -race -v ./...
}