Permalink
Browse files

Added rebar.config and modified Makefile

  • Loading branch information...
1 parent 70c89a8 commit e28810b06212cc89623adbe9c9480b1b3121a122 @lehoff committed Oct 13, 2012
Showing with 21 additions and 3 deletions.
  1. +15 −3 Makefile
  2. +6 −0 rebar.config
View
@@ -1,13 +1,25 @@
build:
- sinan build
+ rebar compile
example_beams: examples/*.erl
examples: build example_beams
erlc -o examples examples/*.erl
# this should be done smarter, but thta is what is there for now.
-PROJ_PATH=-pa /apps/erlang/r14b4/lib/kernel-2.14.5/ebin -pa /apps/erlang/r14b4/lib/stdlib-1.17.5/ebin -pa /apps/erlang/r14b4/lib/compiler-4.7.5/ebin -pa /Users/th/Library/Erlang/lib/proper-1.0/ebin -pa /apps/erlang/r14b4/lib/eunit-2.2.1/ebin -pa /Users/th/git_repos/chronos/_build/chronos/lib/chronos-0.0.1/ebin -pa /Users/th/git_repos/meck/ebin
+#PROJ_PATH=-pa /apps/erlang/r14b4/lib/kernel-2.14.5/ebin -pa
+#/apps/erlang/r14b4/lib/stdlib-1.17.5/ebin -pa
+#/apps/erlang/r14b4/lib/compiler-4.7.5/ebin -pa
+#/Users/th/Library/Erlang/lib/proper-1.0/ebin -pa
+#/apps/erlang/r14b4/lib/eunit-2.2.1/ebin -pa
+#/Users/th/git_repos/chronos/_build/chronos/lib/chronos-0.0.1/ebin -pa
+#/Users/th/git_repos/meck/ebin
+
+#PROJ_PATH=-
+
+# ex_shell:
+# erl -pz examples ${PROJ_PATH}
+
ex_shell:
- erl -pz examples ${PROJ_PATH}
+ erl -pz examples -pz deps/*/ebin -pz ebin
View
@@ -0,0 +1,6 @@
+{deps, [
+ {gproc, ".*", {git, "git://github.com/uwiger/gproc",
+ {tag, "0.2.13.3"}}},
+ {meck, ".*", {git, "git://github.com/eproxus/meck",
+ {tag, "0.7.2"}}}
+ ]}.

0 comments on commit e28810b

Please sign in to comment.