tree: 108cbbf82db90bdc8e5030171b375b73c70c5c90 [path history] [tgz]
  1. calendar.coffee
  2. colors.coffee
  3. combine.sh
  4. defaults.coffee
  5. defaults_register.coffee
  6. dom_utils.coffee
  7. email_display_basic.coffee
  8. email_display_bydate.coffee
  9. email_display_threaded.coffee
  10. http_utils.coffee
  11. keyboard_shortcuts.coffee
  12. listview_basic.coffee
  13. listview_basiclib.coffee
  14. listview_single_email.coffee
  15. localstorage.coffee
  16. misc.coffee
  17. preferences.coffee
  18. README.md
  19. scaffolding.coffee
  20. search.coffee
  21. test.coffee
site/js/coffee/README.md

Building Pony Mail Coffee-and-Cake for Production

Most of Pony Mail is ready-for-deployment files that just need to be checked out in order to work. Some areas, such as the CofeeScript needs to be compiled and combined by a script, as they have been split into several smaller files to make it easier to find and work on various elements of the rendering process.

Building the JavaScript amalgamation

All edits should be done to the site/js/coffee/*.coffee files. Once done, you should run combine.sh in the site/js/coffee directory to generate ponymail-coffee.js from the scripts in the dev dir:

$cd site/js/coffee
$bash combine.sh
(coffeescript output goes here...)
Done!
$

You may choose to commit the initial Coffee changes first before committing the new amalgamated JS, but that's up to you.