Skip to content

"test"-transformer executed for dependencies. #23480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue May 16, 2015 · 3 comments
Closed

"test"-transformer executed for dependencies. #23480

DartBot opened this issue May 16, 2015 · 3 comments
Assignees

Comments

@DartBot
Copy link

DartBot commented May 16, 2015

This issue was originally filed by @zoechi


I have a package bwu_fontawesome_iconset_svg which has the new "test" package as dev-dependency and this transformer configuration

transformers:

  • polymer:
        entry_points:
        - example/example01.html
        - example/example02.html
        - example/example03.html
        - test/all_icons_test.html
        - test/simple_test.html
  • test/pub_serve:
        $include: test/**_test{.*,}.dart

(full source at https://github.com/bwu-dart/bwu_fontawesome_iconset_svg/blob/v0.1.3/pubspec.yaml)

When I create a new Dart project that used this package as dependency I get an error when I run pub upgrade

Resolving dependencies... (6.6s)

  • analyzer 0.25.0+1
  • args 0.13.0
      ...
  • string_scanner 0.1.3+1
  • template_binding 0.14.0+2
  • test 0.12.1
  • utf 0.9.0+2
  • watcher 0.9.5
  • web_components 0.11.4+1
  • when 0.2.0
  • which 0.1.3
  • yaml 2.1.2
    Changed 43 dependencies!
    Precompiling dependencies...
    Loading source assets...
    Error on line 1, column 1 of https://pub.dartlang.org/api/packages/bwu_fontawesome_iconset_svg: Error loading transformer "test/pub_serve": package "test" is not a dependency.

I moved the "test" package from "dev_dependencies" to "dependencies" but this is of course not ideal.

Maybe related to http://dartbug.com/22629
See also dart-lang/test#114

@nex3
Copy link
Member

nex3 commented May 18, 2015

Set owner to @nex3.
Added Started label.

@nex3
Copy link
Member

nex3 commented May 21, 2015

Fixed in 8298073.


Added Fixed label.

@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

This issue has been moved to dart-lang/pub#23.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants