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

Unified Diff: sdk/bin/pub.bat

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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: sdk/bin/pub.bat
diff --git a/sdk/bin/pub.bat b/sdk/bin/pub.bat
index 0524075f6f74d6c2012cc18e50f237ec859e5d34..b10202114f9107387a29663269fb68400d5fb6f7 100644
--- a/sdk/bin/pub.bat
+++ b/sdk/bin/pub.bat
@@ -37,11 +37,10 @@ set DART=%BUILD_DIR%\dart-sdk\bin\dart
rem Compile async/await down to vanilla Dart.
rem TODO(rnystrom): Remove this when #104 is fixed.
set ASYNC_COMPILER="%SDK_DIR%"\lib\_internal\pub\bin\async_compile.dart
-"%DART%" --package-root="%PACKAGES_DIR%" "%ASYNC_COMPILER%" "%BUILD_DIR%" ^
- --silent
+"%DART%" --package-root="%PACKAGES_DIR%" "%ASYNC_COMPILER%" "%BUILD_DIR%"
rem Run the async/await compiled pub.
-set PUB="%BUILD_DIR%\pub_async\bin\pub.dart"
+set PUB="%SDK_DIR%"\lib\_internal\pub_generated\bin\pub.dart"
"%DART%" %VM_OPTIONS% --package-root="%PACKAGES_DIR%" "%PUB%" %*
endlocal

Powered by Google App Engine
This is Rietveld 408576698