Permalink
Browse files

Merge pull request #63 from sbalea/master

Rebar post_hooks for git submodules (and a minor tweak)
  • Loading branch information...
2 parents 0ca4382 + c52a0dd commit 18c1cc092bc87fca83b002f886a202fab3c7239f @ferd ferd committed Sep 13, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −1 rebar.config
  2. +1 −1 src/socketio_listener.erl
View
@@ -4,4 +4,6 @@
{i,"deps/proper/include/"},
{i,"deps/ex_uri/include/"}
]}.
-
+{post_hooks, [{'get-deps', "git submodule init"},
+ {'get-deps', "git submodule update"},
+ {'delete-deps', "rm -rf priv/Socket.IO/* priv/Socket.IO/.git*"}]}.
@@ -1,7 +1,7 @@
-module(socketio_listener).
-behaviour(gen_server).
--include_lib("ex_uri.hrl").
+-include_lib("ex_uri/include/ex_uri.hrl").
%% API
-export([start/1, server/1]).

0 comments on commit 18c1cc0

Please sign in to comment.