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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/preprocess.dart

Issue 602253002: Use pub_semver package in pub. (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/lib/_internal/pub_generated/lib/src/preprocess.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart b/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
index 04805af14db83c842a81b71cced4a9eec98796f8..26b76d0da855c0b7309d0ba752d8ff4ad23a95b4 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/preprocess.dart
@@ -1,6 +1,6 @@
library pub.preprocess;
+import 'package:pub_semver/pub_semver.dart';
import 'package:string_scanner/string_scanner.dart';
-import 'version.dart';
String preprocess(String input, Map<String, Version> versions, sourceUrl) {
if (!input.contains(new RegExp(r"^//[>#]", multiLine: true))) return input;
return new _Preprocessor(input, versions, sourceUrl).run();
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/package.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/pubspec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698