run.sh 364 B

1234567891011121314151617
  1. #!/bin/bash
  2. if [ $# -lt 1 ]; then
  3. echo "Error: Please specify a browser target argument"
  4. exit 1
  5. fi
  6. export PATH=$PATH:"$(pwd)/node_modules/.bin/"
  7. browser=$1
  8. shift
  9. concurrently \
  10. --kill-others \
  11. -s first \
  12. --names \"server,test\" \
  13. "npm run testserver" \
  14. "ts-node --skip-project -O '{\"target\": \"ES2015\"}' tests/ui/run.ts $browser"