4chan-x/CONTRIBUTING.md
Nicolas Stepien 73126fdba1 testing guide
2012-10-13 18:20:46 +02:00

1.3 KiB

Reporting bugs

  1. Make sure your browser & 4chan X are up to date.
  2. Disable your other extensions & scripts.
  3. If your issue persists:
  4. Report precise steps to reproduce the problem.
  5. Report console errors, if any.
  6. Report browser and browser version.

Open your console with:

  • Ctrl + Shift + J on Chrome & Firefox
  • Ctrl + Shift + O on Opera.

Development & Contribution

Get started

  • Clone 4chan X.
  • cd into it.
  • Install node.js.
  • Install Grunt with npm install -g grunt.
  • Install 4chan X dependencies with npm install.

Build

  • Build with grunt.
  • For development (continuous builds), run grunt watch.

Test

  • You must have PhantomJS installed. (need help?)
  • Run test units with grunt test.

Release

  • To patch, run grunt patch (0.0.x version bump).
  • To upgrade, run grunt upgrade (0.x.0 version bump).
  • Release with grunt release.

Note: this is only used to release new 4chan X versions, and is not needed or wanted in pull requests.

Contribute

  • Edit the CoffeeScript source.
  • Build the JavaScript.
  • If the edits affect regular users, edit the changelog.
  • Fork the repo.
  • Send a pull request.