Closed dbpolito closed 12 years ago
Agreed! Let's ask @fat.
I think @jasny started working on this here https://github.com/jasny/bootstrap/tree/2.0-uglify
It's on my list to build a service which builds the files together (this is pretty necessary for the 2.0 plugins). If anyone wants to step up and build a jsonp endpoint for this, that would be... basically amazing.
@fat, you mean something like a server side customizer as seen here http://www.initializr.com/advanced ?
I simply stick all uglified files together. Not really refined. Isn't ender suppose to be a solution for this? http://ender.no.de
P.S. Please note that I run a heavily modified fork of Bootstrap 2.0. Not all branches are intended to be merged back into the Twitter version. Each new feature is put in it's own branch before merging it into my master. So do feel free to check it out :)
The mootools crew has had one for ages which is pretty great: http://mootools.net/core/
I think @markdotto and i will want to build the interface into our docs (mark will hopefull design some hottness for it) - so we just need an api endpoint which takes some arguments and returns the built file. (probably with an option to do compressed or uncompressed code). I was thinking about using ender for it :)
I could try writing a simple API with node.js? I don't know what server side requirements do you need? I write web stuff in Ruby ;)
I hacked a little something something as a proof of concept => http://bootstrapr.okonski.org/
Great work. Would be ever better if it have an select all button! :D
Ah yes! Done ;) But this is just a rough example. This probably won't even be written in Ruby :P
@pokonski this is awesome! i'll take a closer look in the next few days :)
@pokonski I just opened a pull request on your bootstrapr project allowing building a package pulling the latest plugins right from GitHub instead of just using the static files included.
Great! I actually considered that :)
@pokonski i ported your code to node - and implemented a simple ui in the 2.0 docs. This will likely be improved upon - but should definitely make it into 2.0 :)
Nice :-)
Are you using the loadbuilder/loadrunner for this?
Any chance of open-sourcing the builder? :)
I toyed with porting @pokonski's code to Node but didn't get far, I'm much more proficient with Ruby. I'd be curious to see how you implemented it compared to my attempts.
here's a gist: https://gist.github.com/1601997 - won't likely open source it as a project because it's so simple
@pokonski Didn't use loadbuilder/runner that was just for something at work :)
I see :) Also that 'jsonpi' plugin is clever!
isn't it? @benvinegar is a genius and a maverick.
Thanks for the gist.
Would be great if we have a file all.min.js with all .js there.
Congratulation for your work guys.