Most of this code was taken from Ruby's coffee-script-source's gem and Crystalized.
dependencies: coffee-script-source: github: jessedoyle/coffee-script-source version: ~> 2.0
require "coffee-script-source" CoffeeScript::Source.bundled_path # => somewhere... CoffeeScript::Source.bundled_version # => "X.X.X"
- Currently, this shard supports the 1.X releases of CoffeeScript. PRs are welcome - please see the discussion here for context.
For future reference, when a new CoffeeScript version is released:
- Create a new branch on this repo, then checkout the created branch.
- From the repo's root directory execute:
- Update the
bundled_versionstatic method in
- Commit and merge as usual. Don't forget to add the correct release tags (eg.
The MIT License. See
LICENSE.md for details.