Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Expecting rabbitmq-codegen to be at the parent directory isn't a very…

… good idea, let's use submodules for that.
  • Loading branch information...
commit c503c3c9fb1fba2e36a6b48d1b2956accb9413c8 1 parent cce90b3
Jakub Šťastný aka Botanicus authored
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "vendor/rabbitmq-codegen"]
+ path = vendor/rabbitmq-codegen
+ url = git://github.com/rabbitmq/rabbitmq-codegen.git
View
5 Makefile
@@ -1,4 +1,4 @@
-CODEGEN_DIR=../rabbitmq-codegen
+CODEGEN_DIR=vendor/rabbitmq-codegen
AMQP_JSON_SPEC=$(CODEGEN_DIR)/amqp-rabbitmq-0.9.1.json
PYTHON=python
@@ -8,8 +8,7 @@ all: puka/spec.py puka/spec_exceptions.py tests
$(AMQP_JSON_SPEC):
@echo "You need '$(CODEGEN_DIR)' package."
@echo "Try one of the following:"
- @echo " git clone git://github.com/rabbitmq/rabbitmq-codegen.git"
- @echo " hg clone http://hg.rabbitmq.com/rabbitmq-codegen"
+ @echo " git submodule init && git submodule update"
@exit 1
puka/spec.py: codegen.py codegen_helpers.py \
View
1  README.md
@@ -123,7 +123,6 @@ I want to run the examples
Great. Make sure you have `rabbitmq` server installed and follow this
steps:
- git clone https://github.com/rabbitmq/rabbitmq-codegen.git
git clone https://github.com/majek/puka.git
cd puka
make
View
2  codegen.py
@@ -4,7 +4,7 @@
import sys
import string
-sys.path.append(os.path.join("..","rabbitmq-codegen"))
+sys.path.append(os.path.join("vendor", "rabbitmq-codegen"))
from amqp_codegen import *
import codegen_helpers
1  vendor/rabbitmq-codegen
@@ -0,0 +1 @@
+Subproject commit ca2ebe53472fec88d1af00f94c5759be4fc758fe
Please sign in to comment.
Something went wrong with that request. Please try again.