19 lines
531 B
Plaintext
19 lines
531 B
Plaintext
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 -v ./...
|
|
} |