Added a grunt build process #105
Reference in New Issue
Block a user
No description provided.
Delete Branch "build-process"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added a more complete build process
As part of #101 :
I've created a more complete build process using Grunt, it performs the following steps:
Layout.js
into a universal module (UMD), via a simple grunt task that performs inclusion. This is a bit messy, and doesn't scale well if you ever want to split the code up into smaller sub-modules, but is an improvement on what we currently have.The build output sits in the
dist
folder which is added to git. I'm in two minds about this, typically I'd want to have the build output distributed via npm or a GitHub release, however, this project has transpiled output that is already part of the repo, so this doesn't feel like a pollution.Open question:
dist/js
,dist/java
...For my next step I want to sort out the build, currently it is part JavaScript / grunt / karma and part make. The Travis build should run everything!
Fixes #102 #103
On another note, having the output minified, I can now submit to CDNJS :-)
Sounds good, feel free to merge when you are ready :)
Thanks, I don't have merge privileges, do you want to merge this in?
Woops, forgot to hit save. Now should be good
Thanks, I'm almost done with unifying the Java and C builds into a single grunt build, feels much better :-)
Thanks for this @ColinEberhardt. I remember playing with css-layout a few months back and it was difficult to get it running. These grunt tasks made it super easy to get a dev setup going.
Thanks for the feedback, glad to hear this helped :-)
On Fri, Aug 28, 2015 at 6:28 pm, facebook/css-layout
reply@reply.github.com
wrote:
Thanks for this @ColinEberhardt [https://github.com/ColinEberhardt] . I remember playing with css-layout a few months back and it was difficult to
get it running. These grunt tasks made it super easy to get up and running.
—
Reply to this email directly or view it on GitHub
[https://github.com/facebook/css-layout/pull/105#issuecomment-135839507] .[https://github.com/notifications/beacon/ABDBfiHqU4syuvTH1kU7VnxnsMKT-fveks5osJHOgaJpZM4FpwNq.gif]