Don't treat the primary input as a secondary input in barback.

Some transformers use [Transform.readInputAsString] to read their
primary input, which puts it into a weird state of being considered
both a primary and a secondary input. This ensures that it always goes
through the normal [primaryInput] path.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//229833003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34905 260f80e4-7a28-3924-810f-c04153c831b5
1 file changed
tree: a96985db0c5ac70d56d74006626c91030fbb705e
  1. example/
  2. lib/
  3. test/
  4. CHANGELOG.md
  5. LICENSE
  6. pubspec.yaml
  7. README.md
README.md

Barback is an asset build system. It is the library underlying pub's asset transformers in pub build and pub serve.

Given a set of input files and a set of transformations (think compilers, preprocessors and the like), it will automatically apply the appropriate transforms and generate output files. When inputs are modified, it automatically runs the transforms that are affected.

To learn more, see here.