Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

xref and test changes #82

Merged
merged 2 commits into from

2 participants

@norton

1) Add xref target to Makefile
2) Deprecate test/Makefile

norton added some commits
@norton norton Add xref Makefile target
Move src/ibrowse_test.erl file to the test directory.
9612a2f
@norton norton Deprecate test/Makefile a3e64d5
@cmullaparthi cmullaparthi merged commit de0c933 into cmullaparthi:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 26, 2012
  1. @norton

    Add xref Makefile target

    norton authored
    Move src/ibrowse_test.erl file to the test directory.
  2. @norton

    Deprecate test/Makefile

    norton authored
This page is out of date. Refresh to see the latest.
View
2  .gitignore
@@ -1,6 +1,4 @@
ebin/
*~
.eunit/
-test/
*beam
-
View
5 Makefile
@@ -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
3  rebar.config
@@ -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
19 test/Makefile
@@ -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
-
View
0  src/ibrowse_test.erl → test/ibrowse_test.erl
File renamed without changes
Something went wrong with that request. Please try again.