I fully support this. I use Makefiles in all of my projects after a 
similarly unsuccessful trial of grunt.

On Sunday, 24 November 2013 16:45:03 UTC-6, Nicholas Zakas wrote:
>
> I'm not a fan of having two ways of doing something - that means two 
> things to keep in sync and two things that can have problems instead of 
> one. I'm also not persuaded by the fact that others are using Grunt, 
> especially when I expect most people to just use "npm test" for their 
> everyday development. 
>
> Istanbul, vows, and mocha all have CLIs that are really quick and easy to 
> tie together using make. I also looked into creating some new Grunt plugins 
> to help, but then realized I could get on with life using make instead. :)
>
> Here's the entire Makefile for my other project. It includes code 
> coverage, testing with mocha, linting with ESLint and JSONLint, and even 
> documentation generation:
>
> jsonlint=node_modules/jsonlint/lib/cli.js
> eslint=node_modules/eslint/bin/eslint
>
> all: test
>
> link:
> @npm prune
> @npm install
>
> lint:
> @node $(jsonlint) -q -c package.json
> @node $(jsonlint) -q -c .eslintrc
>  @node $(eslint) tdd-assert.js
>
> test: link lint
> @echo Running Node.js tests
> @node node_modules/istanbul/lib/cli.js cover node_modules/mocha/bin/_mocha 
> tests/*.js
>  @echo Running PhantomJS tests
> @node node_modules/mocha-phantomjs/bin/mocha-phantomjs -R dot 
> tests/tests.htm
>
> docs:
> @echo Generating documentation
> @node node_modules/jsdoc/jsdoc.js -d docs tdd-assert.js
>  @echo Documentation has been output to /docs
>
> Doesn't get much simpler than that. :)
>
>
>
> On Sun, Nov 24, 2013 at 12:42 PM, Ilya Volodin <[email protected]<javascript:>
> > wrote:
>
>> While I have no problems with make, can we keep both? The reason there’s 
>> so much code and it’s slower currently, is because there’s no good mocha or 
>> vows plugin that can do coverage (at least Istanbul coverage, there are 
>> some for blanket). I was planning on writing one, which should simplify 
>> things and speed them up.
>>
>> The reason I think we should keep both, is because a lot of people are 
>> very used to Grunt. Almost every major JavaScript repository on GitHub is 
>> using Grunt for tasks. It’s more or less a de-facto standard.
>>
>>  
>>
>> Thanks,
>>
>>  
>>
>>                                 Ilya Volodin
>>
>>  
>>
>> P.S. Last unittests have been converted and pull request filed. Once that 
>> it merged, I will create another one, to remove all vows tests and replace 
>> them with mocha.
>>
>>  
>>
>> *From:* [email protected] <javascript:> [mailto:
>> [email protected] <javascript:>] *On Behalf Of *Nicholas Zakas
>> *Sent:* Sunday, November 24, 2013 3:12 PM
>> *To:* [email protected] <javascript:>
>> *Subject:* [ESLint] Switch to make?
>>
>>  
>>
>> Hey all,
>>
>>  
>>
>> Ilya went through the trouble of converting the build to use Grunt. I've 
>> just spent this past weekend playing (fighting) with it and really don't 
>> like it. It seems like a ton of code for doing very little, and it's a bit 
>> slower than the old stuff.
>>
>>  
>>
>> So, here's what I'd like to do. I'd like to switch the build system (one 
>> last time) to use make. I used it on a new project and really like how 
>> simple and fast it is: 
>> https://github.com/nzakas/tdd-assert<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fnzakas%2Ftdd-assert&sa=D&sntz=1&usg=AFQjCNFFKgXNlMRXwAW1_6fpkzYKytYsdw>
>>
>>  
>>
>> I don't mind forcing people to use Bash to develop (I'm on Windows, and 
>> Git Bash works fine for me). 
>>
>>  
>>
>> I'll wait until all of the test conversion is done.
>>
>>  
>>
>> Sorry for all the confusion around this stuff - I wanted to give Grunt an 
>> honest chance, and having done that, I remembered why I hate it so much.
>>
>>  
>>
>> Thanks.
>>
>>  
>>
>> -N
>>
>>  
>>
>> -- 
>>
>> ______________________________
>> Nicholas C. Zakas
>> @slicknet
>>
>> Author, Professional JavaScript for Web Developers
>> Buy it at Amazon.com: 
>> http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3<http://www.google.com/url?q=http%3A%2F%2Fwww.amazon.com%2FProfessional-JavaScript-Developers-Nicholas-Zakas%2Fdp%2F1118026691%2Fref%3Dsr_1_3&sa=D&sntz=1&usg=AFQjCNE7MoQ7dOTQRLq46Fgo2ynbhjWZGA>
>>  
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ESLint" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "ESLint" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
>
> ______________________________
> Nicholas C. Zakas
> @slicknet
>
> Author, Professional JavaScript for Web Developers
> Buy it at Amazon.com: 
> http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3<http://www.google.com/url?q=http%3A%2F%2Fwww.amazon.com%2FProfessional-JavaScript-Developers-Nicholas-Zakas%2Fdp%2F1118026691%2Fref%3Dsr_1_3&sa=D&sntz=1&usg=AFQjCNE7MoQ7dOTQRLq46Fgo2ynbhjWZGA>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to