Permalink
Browse files

Merge pull request #82 from norton/norton-xref-n-test

xref and test changes
  • Loading branch information...
2 parents 67d3bcb + a3e64d5 commit de0c93367806a84c5dcc4fb48802f5781d5d280e @cmullaparthi committed Nov 26, 2012
Showing with 5 additions and 24 deletions.
  1. +0 −2 .gitignore
  2. +3 −2 Makefile
  3. +2 −1 rebar.config
  4. +0 −19 test/Makefile
  5. 0 {src → test}/ibrowse_test.erl
View
@@ -1,6 +1,4 @@
ebin/
*~
.eunit/
-test/
*beam
-
View
@@ -12,9 +12,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]}.
View
@@ -1,19 +0,0 @@
-ERL_FILES = ibrowse_test_server.erl
-
-
-INCLUDE_DIRS = -I./
-
-ERLC ?= erlc
-ERLC_EMULATOR ?= erl -boot start_clean
-COMPILER_OPTIONS = -W +warn_unused_vars +nowarn_shadow_vars +warn_unused_import
-
-.SUFFIXES: .erl .beam $(SUFFIXES)
-
-all: $(ERL_FILES:%.erl=%.beam)
-
-%.beam: %.erl
- ${ERLC} $(COMPILER_OPTIONS) $(INCLUDE_DIRS) -o ./ $<
-
-clean:
- rm -f *.beam
-
File renamed without changes.

0 comments on commit de0c933

Please sign in to comment.