Modify source layout to be more standard, moving test cases to ./priv/test_cases
Remove rebar in favour of using system rebar Remove makefile
This commit is contained in:
parent
338f79ec9a
commit
6a86513b84
5 changed files with 5 additions and 55 deletions
|
@ -1,5 +1,5 @@
|
||||||
language: erlang
|
language: erlang
|
||||||
script: make test
|
script: rebar skip_deps=true eunit
|
||||||
otp_release:
|
otp_release:
|
||||||
- R15B
|
- R15B
|
||||||
- R14B02
|
- R14B02
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
## jsx (v1.0rc) ##
|
## jsx (v1.0.1) ##
|
||||||
|
|
||||||
a sane json implementation for erlang, inspired by [yajl][yajl]
|
a sane json implementation for erlang, inspired by [yajl][yajl]
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ copyright 2011, 2012 alisdair sullivan
|
||||||
|
|
||||||
jsx is released under the terms of the [MIT][MIT] license
|
jsx is released under the terms of the [MIT][MIT] license
|
||||||
|
|
||||||
to build jsx, use `make`. to run the test suite, use `make test`
|
jsx uses [rebar][rebar] and [meck][meck]
|
||||||
|
|
||||||
[](http://travis-ci.org/talentdeficit/jsx)
|
[](http://travis-ci.org/talentdeficit/jsx)
|
||||||
|
|
||||||
|
@ -196,5 +196,7 @@ paul davis, lloyd hilaiel, john engelhart, bob ippolito, fernando benavides and
|
||||||
|
|
||||||
[yajl]: http://lloyd.github.com/yajl
|
[yajl]: http://lloyd.github.com/yajl
|
||||||
[MIT]: http://www.opensource.org/licenses/mit-license.html
|
[MIT]: http://www.opensource.org/licenses/mit-license.html
|
||||||
|
[rebar]: https://github.com/basho/rebar
|
||||||
|
[meck]: https://github.com/eproxus/meck
|
||||||
[json]: http://json.org
|
[json]: http://json.org
|
||||||
[rfc4627]: http://tools.ietf.org/html/rfc4627
|
[rfc4627]: http://tools.ietf.org/html/rfc4627
|
20
makefile
20
makefile
|
@ -1,20 +0,0 @@
|
||||||
compile: get-deps
|
|
||||||
./rebar compile
|
|
||||||
|
|
||||||
compile-test: get-test-deps
|
|
||||||
./rebar --config rebar.test.config compile
|
|
||||||
|
|
||||||
clean:
|
|
||||||
./rebar clean
|
|
||||||
|
|
||||||
clean-test:
|
|
||||||
./rebar --config rebar.test.config clean
|
|
||||||
|
|
||||||
get-deps:
|
|
||||||
./rebar recursive=true get-deps
|
|
||||||
|
|
||||||
get-test-deps:
|
|
||||||
./rebar --config rebar.test.config get-deps
|
|
||||||
|
|
||||||
test: clean-test compile-test
|
|
||||||
./rebar --config rebar.test.config skip_deps=true eunit
|
|
BIN
rebar
vendored
BIN
rebar
vendored
Binary file not shown.
|
@ -1,32 +0,0 @@
|
||||||
%% uncomment to get verbose output from test suite
|
|
||||||
%% {eunit_opts, [verbose]}.
|
|
||||||
|
|
||||||
{erl_opts, [
|
|
||||||
{i, "src"},
|
|
||||||
{src_dirs, ["src"]},
|
|
||||||
warn_unused_vars,
|
|
||||||
warn_export_all,
|
|
||||||
warn_shadow_vars,
|
|
||||||
warn_unused_import,
|
|
||||||
warn_unused_function,
|
|
||||||
warn_bif_clash,
|
|
||||||
warn_unused_record,
|
|
||||||
warn_deprecated_function,
|
|
||||||
warn_obsolete_guard,
|
|
||||||
strict_validation,
|
|
||||||
warn_export_vars,
|
|
||||||
warn_exported_vars
|
|
||||||
]}.
|
|
||||||
|
|
||||||
{dialyzer_opts, [{warnings, [
|
|
||||||
unmatched_returns,
|
|
||||||
error_handling,
|
|
||||||
race_conditions,
|
|
||||||
behaviours
|
|
||||||
]}]}.
|
|
||||||
|
|
||||||
{xref_checks, [undefined_function_calls]}.
|
|
||||||
|
|
||||||
{cover_enabled, true}.
|
|
||||||
|
|
||||||
{deps, [{'meck', ".*", {git, "git://github.com/eproxus/meck.git"}}]}.
|
|
Loading…
Add table
Add a link
Reference in a new issue