Skip to content

Instantly share code, notes, and snippets.

@mithereal
Created June 5, 2014 01:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mithereal/57c15cbfd05471406480 to your computer and use it in GitHub Desktop.
Save mithereal/57c15cbfd05471406480 to your computer and use it in GitHub Desktop.
chicago boss pre-commit hook
#!/bin/sh
#
#This is a pre commit hook for Chicage Boss
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell | sed "s/\"*//g" > .preferred_otp_version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment