* Move babel-standalone into main Babel repo
* Don't try to gather coverage data for babel-standalone test
* Fix JSX test
* Always use npm v4 on Travis
* Include pull request number as part of version number
* Cherry-picking 5721b2e43e
Remove deprecated packages to prevent Babel v6 files from being pulled in
* Use RootMostResolvePlugin to dedupe packages
* Avoid destructuring so the build works on archaic Node.js versions
* - Fix version number
- Remove Babili packages (they should be in separate babili-standalone)
- Remove deprecated syntax-class-constructor-call
* - Remove more Babili packages
- Remove `babel-plugin-inline-replace-variables` for now as it pulls in Babel 6 stuff
* Actually remove reference to babel-plugin-undeclared-variables-check
* Add Babylon to root package.json so we hoist the right version. This fixes the tests.
21 lines
382 B
Bash
Executable File
21 lines
382 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
TEST_DIRS=""
|
|
|
|
for f in packages/*; do
|
|
if [ -n "$TEST_ONLY" ] && [[ `basename $f` != *"$TEST_ONLY"* ]]; then
|
|
continue
|
|
fi
|
|
# Exclude babel-standalone from coverage runs
|
|
if [ "$TEST_TYPE" = "cov" ] && [ `basename $f` = 'babel-standalone' ]; then
|
|
continue
|
|
fi
|
|
|
|
if [ -d "$f/test" ]; then
|
|
TEST_DIRS="$f/test $TEST_DIRS"
|
|
fi
|
|
done
|
|
|
|
echo $TEST_DIRS
|