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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/global/activate/path_package_test.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 'package:path/path.dart' as p;
2 import '../../../lib/src/io.dart';
3 import '../../descriptor.dart' as d;
4 import '../../test_pub.dart';
5 main() {
6 initConfig();
7 integration('activates a package at a local path', () {
8 d.dir(
9 "foo",
10 [
11 d.libPubspec("foo", "1.0.0"),
12 d.dir("bin", [d.file("foo.dart", "main() => print('ok');")])]).creat e();
13 var path = canonicalize(p.join(sandboxDir, "foo"));
14 schedulePub(
15 args: ["global", "activate", "--source", "path", "../foo"],
16 output: 'Activated foo 1.0.0 at path "$path".');
17 });
18 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698