angular-jsdoc icon indicating copy to clipboard operation
angular-jsdoc copied to clipboard

Integrating gulp tasks for development

Open reloaded opened this issue 9 years ago • 1 comments

It would be great if the Gulpfile provided helpful development tasks to enforce code style and standards and in the future unit tests would be great :).

The Gulpfile should be extended to include the following tasks

  • analysis: Run JSHint and JSCS (JS Code Style) and fail if either of those throw warnings or errors.
  • docs: Delete the angular-template/docs and default/docs and regenerate them from sample-codes.

Would you be open to PRs that add the above functionality?

reloaded avatar Apr 22 '16 03:04 reloaded

I intentionally did not add a gulp file for simplcity since npm command can handle it all. npm has very extensive support for these command. e.g., npm start, npm publish, npm test, etc. I found this article useful. http://blog.keithcirkel.co.uk/how-to-use-npm-as-a-build-tool.

TLDR; getting away from grunt/gulp, and getting back into npm.

allenhwkim avatar Apr 23 '16 14:04 allenhwkim