2017-07-05 13:26:25 +02:00
|
|
|
#!/bin/bash
|
2016-04-30 11:17:50 +02:00
|
|
|
|
2017-06-25 13:51:19 +02:00
|
|
|
npm run build:server
|
|
|
|
|
2016-04-30 11:17:50 +02:00
|
|
|
cd client || exit -1
|
2017-04-26 21:52:49 +02:00
|
|
|
npm test || exit -1
|
2016-04-30 11:17:50 +02:00
|
|
|
|
|
|
|
cd .. || exit -1
|
2017-07-05 13:26:25 +02:00
|
|
|
npm run tslint -- --type-check --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
|
2017-09-04 21:21:47 +02:00
|
|
|
mocha --require ts-node/register --bail server/tests/index.ts
|