mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
21 lines
377 B
Bash
Executable File
21 lines
377 B
Bash
Executable File
#!/bin/sh
|
|
|
|
NG_FOLDER=angular-master
|
|
|
|
cd $(dirname $0)/../..
|
|
|
|
cd dist
|
|
if ! [ $(ls | grep $NG_FOLDER) ]; then
|
|
echo "Cloning angular2 to dist/angular-master..."
|
|
git clone git@github.com:angular/angular $NG_FOLDER
|
|
fi
|
|
|
|
cd $NG_FOLDER
|
|
echo "Running npm install in angular2..."
|
|
npm install
|
|
|
|
echo "Running gulp to build source..."
|
|
gulp build/transpile.js.dev.es6
|
|
|
|
echo "-- DONE --"
|