mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This ensures we run in a clean directory, using our real distribution. It finds bugs like @internal APIs needed to type-check in the offline compiler, as well as problems in package.json. Also move tsc-wrapped under tools/@angular
16 lines
322 B
Bash
Executable file
16 lines
322 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -ex -o pipefail
|
|
|
|
echo 'travis_fold:start:BUILD'
|
|
|
|
# Setup environment
|
|
cd `dirname $0`
|
|
source ./env.sh
|
|
cd ../..
|
|
|
|
$(npm bin)/tsc -p tools
|
|
cp tools/@angular/tsc-wrapped/package.json dist/tools/@angular/tsc-wrapped
|
|
node dist/tools/@angular/tsc-wrapped/src/main -p modules
|
|
|
|
echo 'travis_fold:end:BUILD'
|