Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.21 KB

CONTRIBUTING.md

File metadata and controls

40 lines (23 loc) · 1.21 KB

Open to improvements

Feel free to submit pull-requests or suggestions via issues to improve this process, any document, or any of the code. Your help is appreciated.

Guidelines

  • Everything in CoffeeScript.
  • Try to follow the code style in the script you're editing or surrounding scripts.
  • Use Biscotto style comments on classes, methods, etc.
  • Take care that this module supports Windows, Mac, and Linux, NW.js and Electron, with or without Squirrel (auto-updating).
  • Be nice.

Setup

  1. npm install -g gulp
  2. npm install
  3. Install the EditorConfig plugin for your IDE / text-editor.

Compilation

  1. gulp

Running tests

(No need to compile first)

  1. npm test

Publishing a new version

  1. Tests must pass. I.e. Travis and AppVeyor builds should have successfully ran for the last commit. It would be good if you ran the tests locally too to be safe, especially on Mac as we don't have a service like Travis or AppVeyor to run them on, and because we have Mac-only options.
  2. Manually bump version in package.json.
  3. Publish new version to npm.
  4. Commit & push version bump as {{new_version}}.
  5. Publish GitHub release.