You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.4 KiB

  1. Submitting Issues
  2. =================
  3. If you are submitting a bug, please test and/or fork [this jsfiddle](http://jsfiddle.net/Eonasdan/0Ltv25o8/) demonstrating the issue. Code issues and fringe case bugs that do not include a jsfiddle (or similar) will be closed.
  4. Contributing code
  5. =================
  6. To contribute, fork the library and install grunt and dependencies. You need [node](http://nodejs.org/); use [nvm](https://github.com/creationix/nvm) or [nenv](https://github.com/ryuone/nenv) to install it.
  7. ```bash
  8. git clone https://github.com/Eonasdan/bootstrap-datetimepicker.git
  9. cd bootstrap-datetimepicker
  10. npm install -g grunt-cli
  11. npm install
  12. git checkout development # all patches against development branch, please!
  13. grunt # this runs tests and jshint
  14. ```
  15. Very important notes
  16. ====================
  17. * **Pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch.
  18. * **Do not include the minified files in your pull request.** Don't worry, we'll build them when we cut a release.
  19. Grunt tasks
  20. ===========
  21. We use Grunt for managing the build. Here are some useful Grunt tasks:
  22. * `grunt` The default task lints the code and runs the tests. You should make sure you do this before submitting a PR.
  23. * `grunt build` Compiles the less stylesheet and minifies the javascript source in build directory.