Yes, I've seen codesurgeon.
But it doesn't support this:
> -automatic dependency resolving and including files
How do you load all relevant files? Declaring all files explictly would
be a lot of work...


Building a custom require could work by prepending
> function require(module) {
>     return require.cache[module];
> }
> require.cache = {};
And wrapping the module in:
> (function() {
> var exports = {};
> var module = {exports: exports};
>
> // module here
>
> require.cache.MODULENAME = module.exports;
> }());
But this is still not bulletproof..



Am 31.01.2012 20:12, schrieb hij1nx:
> Checkout codesurgeon. https://github.com/hij1nx/codesurgeon
>
> We use this at nodejitsu and for a number of the http://github.com/flatiron
> projects.
>
> --
> Paolo Fragomeni
> Co-founder, CTO
> Nodejitsu, Inc.
> www.twitter.com/hij1nx
> www.github.com/hij1nx
>
>
> On Jan 31, 1:52 pm, deitch <[email protected]> wrote:
>> Been a long ongoing discussion about this 
>> athttp://groups.google.com/group/nodejs/browse_thread/thread/4f5270afb0...
>>
>> On Jan 31, 11:31 am, Phoscur <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>>> So, this means, there are no other build tools out there?
>>> Am 30.01.2012 17:48, schrieb Phoscur:
>>>> Hi,
>>>> I've seen some build tools out there, probably there are a lot more from
>>>> people who wrote their own.
>>>> What I want to be done on build:
>>>> -code check with jslint/jshint
>>>> -minification
>>>> -browser-side require() replacement
>>>> -automatic dependency resolving and including files
>>>> -running tests/specs
>>>> and the ability to run on filechanges.
>>>> My platform is windows.
>>>> Codesurgeon looks really nice, but doesn't have the ability to
>>>> browserify and needs a list of files, browserify doesn't perform jslint
>>>> checks and just didn't work when I tried it last time.
>>>> What build tools are you using? Should I give browserify another try?
>>>> regards,
>>>> Ph

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to