diff --git a/.gitignore b/.gitignore index 32533cc..e8f35ad 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,6 @@ *.o *.so ebin/jiffy.app +.eunit +deps +logs diff --git a/Makefile b/Makefile index d573bb6..d278d93 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,9 @@ build: c_src/decoder.c check: test/etap.beam test/util.beam prove test/*.t + +clean: + rm -rf logs .eunit + +ct: + ./rebar ct skip_deps=true verbose=1 diff --git a/rebar.config b/rebar.config index 081bf89..7ee1bcd 100644 --- a/rebar.config +++ b/rebar.config @@ -15,3 +15,10 @@ {"darwin10.*-32$", "CXXFLAGS", "-m32"}, {"darwin10.*-32$", "LDFLAGS", "-arch i386"} ]}. + +{eunit_opts, [{file, "test/props.erl"}]}. + +{deps, [{proper_stdlib, ".*", + {git, "https://github.com/spawngrid/proper_stdlib.git", "master"}}, + {proper, ".*", + {git, "https://github.com/manopapad/proper.git", "master"}}]}.