1 |
|
2 | set -e
|
3 | cd "$(dirname $0)/.."
|
4 | echo "Linting files..."
|
5 | node_modules/.bin/tslint --config tslint.json index.ts bin/dts-generator.ts tests/unit/all.ts
|
6 | echo "Building modules..."
|
7 | node_modules/.bin/tsc --project tsconfig.json
|
8 | echo "Building tests..."
|
9 | node_modules/.bin/tsc --project tests/tsconfig.json
|
10 | echo "Running intern..."
|
11 | npx intern config=tests/intern.json
|
12 | echo "Cleanup..."
|
13 | rm -rf tmp
|