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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/utils.dart

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 import 'dart:convert';
2 import '../descriptor.dart' as d;
3 import '../test_pub.dart';
4 void serveBrowserPackage() {
5 serve([d.dir('api', [d.dir('packages', [d.file('browser', JSON.encode({
6 'versions': [packageVersionApiMap(packageMap('browser', '1.0.0'))]
7 })),
8 d.dir(
9 'browser',
10 [
11 d.dir(
12 'versions',
13 [
14 d.file(
15 '1.0.0',
16 JSON.encode(
17 packageVersionApiMap(packageMap('browser', ' 1.0.0'), full: true)))])])])]),
18 d.dir(
19 'packages',
20 [
21 d.dir(
22 'browser',
23 [
24 d.dir(
25 'versions',
26 [
27 d.tar(
28 '1.0.0.tar.gz',
29 [
30 d.file('pubspec.yaml', yaml(packageM ap("browser", "1.0.0"))),
31 d.dir(
32 'lib',
33 [
34 d.file('dart.js', 'contents of dart.js'),
35 d.file('interop.js', 'conten ts of interop.js')])])])])])]);
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698