A blueprint for your own hook.io hooks using Coffeescript and Vows
Please note that travis-ci.org does not build this correctly because the module requires node v 0.4.11 but travis has 0.4.8 installed at this point.
npm install -g hook.io-blueprint-coffeescript
./bin/hookio-blueprint-coffeescript
This starts a hook and reads the local config.json. Messages will be sent.
blueprint-coffeescript::foo [in]
message: a text message
blueprint-coffeescript::error [out]
error: Would contain errors if we had them
blueprint-coffeescript::bar [out]
message : a text message
The package config contains experimental hook.io schema definitions. The definition is also exported as hook.
BlueprintCoffeescript = require("hook.io-blueprint-coffeescript").BlueprintCoffeescript
hook = new BlueprintCoffeescript(name: 'blueprint-coffeescript')
var BlueprintCoffeescript = require("hook.io-blueprint-coffeescript").BlueprintCoffeescript;
var hook = new BlueprintCoffeescript({ name: 'blueprint-coffeescript' });
Check out
Follow us on Twitter at
- @getscottyapp
- @martin_sunset
and like us on Facebook please. Every mention is welcome and we follow back.
Listened to lots of Rage Against the Machine while writing this. Feeling very old now...
- Fixed placement of .on
- Improved usage of Coffeescript
- First version
- npm run-script watch
- Change version in package.json
- git tag -a v0.0.2 -m 'version 0.0.2'
- git push --tags
- npm publish
- Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
- Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
- Fork the project
- Start a feature/bugfix branch
- Commit and push until you are happy with your contribution
- Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
- Please try not to mess with the package.json, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
Copyright (c) 2011 Martin Wawrusch. See LICENSE for further details.