PeerTube/scripts/test.sh

11 lines
232 B
Bash
Raw Normal View History

#!/bin/bash
npm run build:server
cd client || exit -1
2017-04-26 21:52:49 +02:00
npm test || exit -1
cd .. || exit -1
npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
2017-06-24 10:37:43 +02:00
mocha --bail server/tests