Skip to content

Commit

Permalink
Rebar3 is in, Rebar2 is out.
Browse files Browse the repository at this point in the history
 - Replaces how hamcrest.hrl is generated, see comments in
    priv/build/scripts/generate_include.escript
 - Moved .app to src, where Rebar3 will always find it.
 - Rewrote some specs to make dialyzer happy.
 - Made hamcrest:matchspec non-opaque, because that just doesn't work with a shared record definition.
 - Adds Thumbs support.

At present, tests require QuviQ Erlang QuickCheck, and will be skipped (returning success) if it's not installed.

This commit removes support for PropEr due to its license.
Refer to:
  basho/erlang_protobuffs#19
  proper-testing/proper#29

It _may_ be worth supporting Triq at some point:
  https://github.com/krestenkrab/triq
  • Loading branch information
tburghart committed Jan 18, 2017
1 parent 98bc7aa commit 349c691
Show file tree
Hide file tree
Showing 16 changed files with 419 additions and 219 deletions.
1 change: 0 additions & 1 deletion .erlang

This file was deleted.

61 changes: 37 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,38 @@
*.kpf
*.pyc
# rebar
*.crashdump
/.cache/
/.eqc*
/.eunit/
/.rebar/
/.rebar3/
/_build/
/_checkouts
/deps
/rebar.lock

# work environments
*.bak
*.dump
*.iml
*.plt
*.sublime-project
*.sublime-workspace
*.tmp
*.txt
*_plt
*~
.DS_Store
.idea/
.project
.settings/
.tm_properties
erln8.config
tmp/

# Erlang build/test artifacts
*.app
*.beam
*.o
*.so
*.swp
.rebar/
build/*
^build$
Emakefile
coverage
coverage/*
erl_crash.dump
test/logs/
ebin/*.beam
logs/*
include/hamcrest.hrl
qc.hrl
deps/
ct_*/
all_runs.html
ct_*
jquery-latest.js
jquery.tablesorter.min.js
variables-ct@localhost
/include/hamcrest.hrl
/doc/
/ebin/
log/
25 changes: 25 additions & 0 deletions .thumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
minimum_reviewers: 2
merge: true
merge_method: merge
build_steps:
# clean relevant profiles to ensure they succeed
- rebar3 clean --all
- rebar3 as prod clean --all
- rebar3 as check clean --all
- rebar3 as test clean --all
- rebar3 as validate clean --all
# compile relevant profiles to ensure they succeed
# - rebar3 as validate compile
- rebar3 compile
- rebar3 as prod compile
- rebar3 as check compile
- rebar3 as test compile
# these are the real tests
- rebar3 as check brt-deps --check
- rebar3 as check xref
- rebar3 as check dialyzer
- rebar3 ct
# last, but not least, do the docs build?
- rebar3 edoc
org_mode: true
timeout: 1800
8 changes: 0 additions & 8 deletions ebin/hamcrest.app

This file was deleted.

1 change: 0 additions & 1 deletion hamcrest-erlang.epm

This file was deleted.

61 changes: 0 additions & 61 deletions priv/build/plugins/eqc_resolver.erl

This file was deleted.

65 changes: 0 additions & 65 deletions priv/build/plugins/header_generator.erl

This file was deleted.

7 changes: 0 additions & 7 deletions priv/build/scripts/bootstrap-deps.sh

This file was deleted.

Loading

0 comments on commit 349c691

Please sign in to comment.