Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: third_party/pkg/angular/scripts/env.sh

Issue 257423008: Update all Angular libs (run update_all.sh). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/scripts/env.sh
diff --git a/third_party/pkg/angular/scripts/env.sh b/third_party/pkg/angular/scripts/env.sh
index dd01ad9bef3ce341f4c910c455337d645570b4b8..dd7d6fab386b2a93910d18d9db1632cb749ff945 100755
--- a/third_party/pkg/angular/scripts/env.sh
+++ b/third_party/pkg/angular/scripts/env.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
if [ -n "$DART_SDK" ]; then
@@ -31,7 +31,26 @@ export DARTANALYZER=${DARTANALYZER:-"$DARTSDK/bin/dartanalyzer"}
export DARTDOC=${DARTDOC:-"$DARTSDK/bin/dartdoc"}
export DART_DOCGEN=${DART_DOCGEN:-"$DARTSDK/bin/docgen"}
-export CHROME_CANARY_BIN=${CHROME_CANARY_BIN:-"$DARTIUM"}
+export DARTIUM_BIN=${DARTIUM_BIN:-"$DARTIUM"}
export CHROME_BIN=${CHROME_BIN:-"google-chrome"}
-export DART_FLAGS='--enable_type_checks --enable_asserts'
+
export PATH=$PATH:$DARTSDK/bin
+
+export NGDART_SCRIPT_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
+export NGDART_BASE_DIR=$(dirname $NGDART_SCRIPT_DIR)
+
+echo '*********'
+echo '** ENV **'
+echo '*********'
+echo DART_SDK=$DART_SDK
+echo DART=$DART
+$DART --version
+echo PUB=$PUB
+echo DARTANALYZER=$DARTANALYZER
+echo DARTDOC=$DARTDOC
+echo DART_DOCGEN=$DART_DOCGEN
+echo DARTIUM_BIN=$DARTIUM_BIN
+echo CHROME_BIN=$CHROME_BIN
+echo PATH=$PATH
+echo NGDART_BASE_DIR=$NGDART_BASE_DIR
+echo NGDART_SCRIPT_DIR=$NGDART_SCRIPT_DIR
« no previous file with comments | « third_party/pkg/angular/scripts/analyze.sh ('k') | third_party/pkg/angular/scripts/generate-documentation.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698