PeerTube/scripts/e2e/index.sh

15 lines
341 B
Bash
Raw Normal View History

2018-05-16 12:59:21 -05:00
#!/bin/sh
set -eu
npm run clean:server:test
2018-05-17 03:55:01 -05:00
(
cd client
2018-05-22 09:02:29 -05:00
npm run webpack -- --config webpack/webpack.video-embed.js --mode development
2018-05-17 03:55:01 -05:00
)
2018-06-07 09:50:33 -05:00
npm run concurrently -- -k -s first \
2018-05-19 06:58:29 -05:00
"cd client && npm run ng -- e2e --port 3333" \
2018-05-17 03:55:01 -05:00
"NODE_ENV=test NODE_APP_INSTANCE=1 NODE_CONFIG='{ \"log\": { \"level\": \"warning\" } }' npm start"