Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 401 Bytes
#! /usr/bin/env ruby
####### EDIT ME !!!! ######
CONFIG_DIR = "/Users/gwik/dev/lighthouse-git-hooks/config"
LIB_DIR = "/Users/gwik/dev/lighthouse-git-hooks"
###########################
require LIB_DIR + "/lib/lighthouse/git_hooks"
include Lighthouse::GitHooks
rev_old, rev_new, ref = STDIN.read.split(" ")
Configuration.load(CONFIG_DIR)
TicketUpdate.new(rev_old, rev_new, ref).parse.send_changes