jakewins / brew

Maven plugin for compiling coffeescript, haml-js and aggregating AMD-based js projects.
GNU Lesser General Public License v2.1
91 stars 21 forks source link

Feature Request: allow build profile to be provided as a .js file #23

Open edc opened 12 years ago

edc commented 12 years ago

We use vanilla r.js on node.js to do our development UI build, and the brew plugin to integrate into the larger maven-driven whole-application build. So for now, we have one build profile written in two separate formats, one in JavaScript for r.js to use, and another in pom.xml for the brew plugin. My understanding is that brew translates configurations in pom.xml into a regular build profile for r.js to consume. I am hoping one can add a feature to just allow a pre-built build profile written in JavaScript to be provided, so we could just say:

<configuration>
    <buildProfile>${basedir}/src/main/build.js</buildProfile>
</configuration>