Skip to content
Browse files

hash_ring can now be used as a rebar dependency

  • Loading branch information...
1 parent 6f5d437 commit dc600504053f81cae1c82538afc2942fd2690b16 @yrashk committed Jul 31, 2011
View
2 .gitignore
@@ -3,3 +3,5 @@ bin/
build
ebin
priv
+c_src/*.o
+.eunit
View
0 lib/erl/c_src/hash_ring_drv.c → c_src/hash_ring_drv.c
File renamed without changes.
View
5 lib/erl/.gitignore
@@ -1,5 +0,0 @@
-ebin/*.beam
-ebin/*.so
-priv
-.eunit
-c_src/*.o
View
5 lib/erl/rebar.config
@@ -1,5 +0,0 @@
-{port_envs,
- [{"DRV_LDFLAGS","-shared -fPIC ../../hash_ring.c ../../sha1.c ../../sort.c ../../md5.c -I../.."},
- {"darwin", "DRV_LDFLAGS", "-shared -undefined suppress -flat_namespace $ERL_LDFLAGS ../../hash_ring.c ../../sha1.c ../../sort.c ../../md5.c -I../.."},
- {"DRV_CFLAGS","-I../.. -O3 -Wall -fPIC $ERL_CFLAGS"}]}.
- {post_hooks, [{compile, "cp -R ebin priv ../.."}]}.
View
5 rebar.config
@@ -1 +1,4 @@
-{sub_dirs, ["lib/erl"]}.
+{port_envs,
+ [{"DRV_LDFLAGS","-shared -fPIC ./hash_ring.c ./sha1.c ./sort.c ./md5.c -I."},
+ {"darwin", "DRV_LDFLAGS", "-shared -undefined suppress -flat_namespace $ERL_LDFLAGS ./hash_ring.c ./sha1.c ./sort.c ./md5.c -I."},
+ {"DRV_CFLAGS","-I. -O3 -Wall -fPIC $ERL_CFLAGS"}]}.
View
0 lib/erl/src/hash_ring.app.src → src/hash_ring.app.src
File renamed without changes.
View
0 lib/erl/src/hash_ring.erl → src/hash_ring.erl
File renamed without changes.

0 comments on commit dc60050

Please sign in to comment.
Something went wrong with that request. Please try again.