chore: make test.sh work again
Previously, `test.sh` relied on calling `build.sh` first
This commit is contained in:
8
test.sh
8
test.sh
@ -17,8 +17,12 @@ else
|
||||
else
|
||||
export NODE_PATH=$NODE_PATH:$(pwd)/dist/all/:$(pwd)/dist/tools/
|
||||
fi
|
||||
echo "Compiling tools..."
|
||||
$(npm bin)/tsc -p tools
|
||||
if [[ $1 == 'node' ]]; then
|
||||
# Note: .metadata.json files are needed for the language service tests!
|
||||
echo "Creating .metadata.json files..."
|
||||
node dist/tools/@angular/tsc-wrapped/src/main -p modules
|
||||
fi
|
||||
node dist/tools/tsc-watch/ $1 watch
|
||||
fi
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user