Permalink
Browse files

Add xref Makefile target

Move src/ibrowse_test.erl file to the test directory.
  • Loading branch information...
1 parent 67d3bcb commit 9612a2fe63a6c6e132c799eebe9473eea4735365 @norton norton committed Nov 26, 2012
Showing with 5 additions and 2 deletions.
  1. +3 −1 Makefile
  2. +2 −1 rebar.config
  3. 0 {src → test}/ibrowse_test.erl
View
@@ -13,8 +13,10 @@ install: all
test: all
./rebar eunit
(cd test; make)
- erl -noshell -pa ebin -pa test -s ibrowse -s ibrowse_test unit_tests \
+ erl -noshell -pa .eunit -pa test -s ibrowse -s ibrowse_test unit_tests \
-s ibrowse_test verify_chunked_streaming \
-s ibrowse_test test_chunked_streaming_once \
-s erlang halt
+xref: all
+ ./rebar xref
View
@@ -1,2 +1,3 @@
{erl_opts, [debug_info, warn_unused_vars, nowarn_shadow_vars, warn_unused_import]}.
-{eunit_opts, [verbose]}.
+{xref_checks, [undefined_function_calls, deprecated_function_calls]}.
+{eunit_opts, [verbose]}.
File renamed without changes.

0 comments on commit 9612a2f

Please sign in to comment.