# HG changeset patch # User Yasutaka Higa # Date 1391332779 -32400 # Node ID 03afb04eae5a8a45c4c09712a141806a153df821 # Parent b3ce1cf124877ff013d83024b01d9d041ed99652 Add remote configs diff -r b3ce1cf12487 -r 03afb04eae5a config/remote_config/README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/remote_config/README Sun Feb 02 18:19:39 2014 +0900 @@ -0,0 +1,5 @@ +config for remote repository. + +Apply: move changegroup.sh, hgrc into .hg directory. + +Usage: if pushed commits in configred repository, automatically run "hg update" and "./build.sh" by hook. diff -r b3ce1cf12487 -r 03afb04eae5a config/remote_config/changegroup.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/remote_config/changegroup.sh Sun Feb 02 18:19:39 2014 +0900 @@ -0,0 +1,8 @@ +#!/bin/sh + +export PATH=$HOME/.rbenv/bin:$PATH + +eval "$(rbenv init -)" + +hg update +./build.sh diff -r b3ce1cf12487 -r 03afb04eae5a config/remote_config/hgrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/remote_config/hgrc Sun Feb 02 18:19:39 2014 +0900 @@ -0,0 +1,2 @@ +[hooks] +changegroup = .hg/changegroup.sh