Skip to content

"test"-transformer executed for dependencies. #23

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 Jun 4, 2015 · 2 comments
Closed

"test"-transformer executed for dependencies. #23

DartBot opened this issue Jun 4, 2015 · 2 comments
Assignees
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DartBot
Copy link

DartBot commented Jun 4, 2015

<img src="https://avatars.githubusercontent.com/u/405837?v=3" align="left" width="96" height="96"hspace="10"> Issue by zoechi
Originally opened as dart-lang/sdk#23480


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

@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Set owner to @nex3.
Added Started label.

@DartBot DartBot added type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) Fixed labels Jun 4, 2015
@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

<img src="https://avatars.githubusercontent.com/u/188?v=3" align="left" width="48" height="48"hspace="10"> Comment by nex3


Fixed in 8298073cbca393dd0689aedef2770397bb2c9982.


Added Fixed label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants