Welcome to mirror list, hosted at ThFree Co, Russian Federation.

run.sh « test « rimraf « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 653ff9b79887148045cda7c0471dab2d292773d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -e
code=0
for i in test-*.js; do
  echo -n $i ...
  bash setup.sh
  node $i
  if [ -d target ]; then
    echo "fail"
    code=1
  else
    echo "pass"
  fi
done
rm -rf target
exit $code