Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 527 Bytes
REBAR=`which rebar || ./rebar`
DEPS_DIR=deps
EBIN_DIR=ebin
all: compile
clean:
rm -rf $(DEPS_DIR)
rm -rf $(EBIN_DIR)
clean-local:
rm -rf $(EBIN_DIR)
$(DEPS_DIR):
mkdir $(DEPS_DIR);
wget http://www.rabbitmq.com/releases/plugins/v2.4.1/amqp_client-2.4.1.ez
wget http://www.rabbitmq.com/releases/plugins/v2.4.1/rabbit_common-2.4.1.ez
unzip -d deps amqp_client-2.4.1.ez
unzip -d deps rabbit_common-2.4.1.ez
@$(REBAR) get-deps
rm amqp_client-2.4.1.ez
rm rabbit_common-2.4.1.ez
compile: $(DEPS_DIR)
@$(REBAR) compile
Something went wrong with that request. Please try again.