commit | d8f546f9b38b365122dac2681c69667dd4fe3fea | [log] [tgz] |
---|---|---|
author | nweiz@google.com <nweiz@google.com> | Wed Apr 09 23:51:09 2014 |
committer | nweiz@google.com <nweiz@google.com> | Wed Apr 09 23:51:09 2014 |
tree | a96985db0c5ac70d56d74006626c91030fbb705e | |
parent | 80e761e97bc878d3e2a8105ff1c95f3deda2f445 [diff] |
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
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.