Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up dev flow with grunt and fix coverage report #424

Merged
merged 1 commit into from
Jun 11, 2014

Conversation

kate2753
Copy link
Contributor

  • Added support to debug unminified code with grunt dev task.
  • Updated coverage report to be generated based on unminified code and set up thresholds for code coverage. Also, added grunt coverage task to allow running it independently from grunt test. grunt test still generates coverage report and makes sure that coverage thresholds are met (will fail otherwise)
  • Updated README.md to reflect new development flow
  • Removed custom testRhino task and implemented it as part of shell task instead.
  • Updated rhino unit test runner to test dust-full.min.js

}
},
connect: {
testServer: {
options: {
port: 3000,
keepalive: true
keepalive: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change do?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keepalive: true keeps test server running until ctrl + c. But it also does not allow to run any tasks after grunt connect:testServer. Since I want to start the server and then watch files for changes I need keepalive to be false.

Here are docs for this config https://github.com/gruntjs/grunt-contrib-connect#keepalive

@jimmyhchan
Copy link
Contributor

Looks good minor note above.

@prashn64
Copy link
Contributor

lgtm.

@jimmyhchan can you take one last look and pull in?

jimmyhchan added a commit that referenced this pull request Jun 11, 2014
Set up dev flow with grunt and fix coverage report
@jimmyhchan jimmyhchan merged commit ad8ea61 into linkedin:master Jun 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants