Permalink
Commits on May 30, 2015
  1. Merge pull request #500 from tuncer/fix-makefile

    Makefile: clean only .rebar/erlcinfo
    tsloughter committed May 30, 2015
  2. Makefile: clean only .rebar/erlcinfo

    Do not delete PLT file in .rebar/.
    tuncer committed May 30, 2015
Commits on May 29, 2015
  1. Merge pull request #460 from tuncer/dialyzer

    Add Dialyzer plugin
    ferd committed May 29, 2015
  2. Merge pull request #499 from aronisstav/otp_version_fix

    Try one more location for the OTP_VERSION file
    ferd committed May 29, 2015
  3. Try one more location for the OTP_VERSION file

    If one is building Erlang from sources without making a proper release,
    there may be an OTP_VERSION file in the root directory.
    aronisstav committed May 29, 2015
Commits on May 27, 2015
  1. Merge branch 'ct-groups-and-cases' of https://github.com/RubberCthulh…

    …u/rebar into RubberCthulhu-ct-groups-and-cases
    
    Conflicts:
    	THANKS
    ferd committed May 27, 2015
  2. Add options 'groups' and 'cases' to 'ct' command

    Add option 'groups' to 'rebar ct' command. So the command "rebar ct suites=Suite1 groups=Group1,Group2,...,GroupN" is equal to "ct_run -suite Suite1_SUITE -group Group1 Group2 ... GroupN". It allows to run specified test groups in specified test suite with Common Test tool. Besides it is absolutely necessary to specify groups for running test cases which are included in these groups, otherwise init_per_group/2 and end_per_group/1 callbacks are not called by ct_run.
    Add option 'cases' to 'rebar ct' command. So the command "rebar ct suites=Suite1 cases=Case1,Case2,...,CaseN" is equal to "ct_run -suite Suite1_SUITE -case Case1 Case2 ... CaseN". It allows to run one or more test cases in specified test suite. Currently rebar has an option 'case' which allows to run only one test case. The option case is remained for backward compability. It's suggested to consider the option 'case' as deprecaed and recommended to use 'cases' instead.
    Updated help messages according to new command line options.
    Add warning message when used deprecated options 'case', 'group', 'suite' in command "rebar ct".
    RubberCthulhu committed Apr 5, 2015
Commits on May 22, 2015
  1. dialyzer: change plt_location to rebar3 default

    To match rebar3, change plt_location's default to 'local'.
    tuncer committed May 22, 2015
  2. dialyzer: nest dialyzer options to match rebar3

    {dialyzer,
     [
      %% Store PLT in ~/.rebar/plt (Default)
      {plt_location, shared},
      %% Store PLT locally inside the project in .rebar
      {plt_location, local},
      %% Store PLT in custom directory
      {plt_location, "custom_dir"},
      %% Extra apps to include in the PLT
      {plt_extra_apps, [app1, app2]},
      {warnings, [unmatched_returns, error_handling]}
     ]}.
    tuncer committed May 15, 2015
  3. Add Dialyzer plugin

    Build project-specific PLT
    $ rebar build-plt
    
    Check the PLT for consistency and rebuild it if it is not up-to-date
    $ rebar check-plt
    
    Analyze the code for discrepancies
    $ rebar dialyze
    
    Delete project-specific PLT
    $ rebar delete-plt
    
    Valid rebar.config options:
      %% Store PLT in ~/.rebar/plt (Default)
      {dialyzer_plt_location,shared}
      %% Store PLT locally inside the project in .rebar
      {dialyzer_plt_location,local}
      %% Store PLT in custom directory
      {dialyzer_plt_location,"custom_path"}
      {dialyzer_plt_extra_apps,[app1,app2]}
      {dialyzer_warnings,[unmatched_returns,error_handling]}
    tuncer committed Feb 27, 2015
Commits on May 19, 2015
  1. Merge pull request #496 from derek121/contributing-dialyzer-2

    Update PLT detail for make build_plt
    ferd committed May 19, 2015
Commits on May 12, 2015
  1. Update PLT detail for make build_plt

    The PLT that rebar will have dialyzer use is now created with make
    build_plt - this commit explains that.
    derek121 committed May 12, 2015
  2. Merge pull request #273 from cybergrind/appups_fix

    Use target_dir as source of new version in generate-appups
    ferd committed May 12, 2015
  3. Merge pull request #494 from derek121/dialyzer-warnings-addition

    Update line number of allowed dialyzer error
    ferd committed May 12, 2015
  4. Merge pull request #336 from derek121/contributing-dialyzer

    Add details on Dialyzer with "make check"
    ferd committed May 12, 2015
Commits on May 11, 2015
  1. Update line number of allowed dialyzer error

    Running make check after make debug gives an error due to the
    following:
    
    make: [dialyzer_warnings] Error 2 (ignored)
    --- dialyzer_reference  2015-05-11 17:21:38.000000000 -0400
    +++ dialyzer_warnings   2015-05-11 17:31:42.000000000 -0400
    @@ -3 +3 @@
    -rebar_utils.erl:198: Call to missing or unexported function
    escript:foldl/3
    +rebar_utils.erl:222: Call to missing or unexported function
    escript:foldl/3
    
    Indeed that call to escript:foldl/3 changed from line 198 to 222 via
    rebar@a045301
    
    This update makes the corresponding change to the line number in
    dialyzer_reference.
    
    This was noticed while working on
    rebar#336
    derek121 committed May 11, 2015
  2. Add details on Dialyzer with "make check"

    If Dialyzer hasn't been used on an account before, there won't be a PLT
    file and "make check" will fail. Added info on that fact.
    derek121 committed Aug 7, 2014
Commits on May 9, 2015
  1. Merge branch 'dia_first_files' of https://github.com/fholzhauser/rebar

    …into fholzhauser-dia_first_files
    ferd committed May 9, 2015
  2. Merge branch 'fix/xref_behavior' of https://github.com/paulo-ferraz-o…

    …liveira/rebar into paulo-ferraz-oliveira-fix/xref_behavior
    ferd committed May 9, 2015
  3. Comment typos

    ferd committed May 9, 2015
  4. Merge branch 'feature/add_gpb_proto_error_test_case' of https://githu…

    …b.com/lrascao/rebar into lrascao-feature/add_gpb_proto_error_test_case
    ferd committed May 9, 2015
Commits on May 8, 2015
  1. Fix source file console output of failed build

    On a failed build, print an absolute source filename,
    if applicable
    lrascao committed May 8, 2015
  2. Add proto gpb error test case

    A specific bad.proto file will cause the mock gpb compiler
    to fail thus improving rebar's coverage of error scenarios
    lrascao committed May 5, 2015
  3. Merge pull request #485 from kejv/robust-expand_include_lib_path

    avoid pre-compile time errors in expand_include_lib_path
    ferd committed May 8, 2015
Commits on May 7, 2015
  1. avoid pre-compile time errors in expand_include_lib_path

    Previously when user specified broken include_lib, such as
    -include_lib("my_app.hrl"), the code throwed too early
    exception.  We fix this simply by avoiding any possible
    internal errors, possibly letting even nonsensical paths pass.
    These will be checked and filtered later in expand_file_names/2.
    kejv committed Apr 25, 2015
Commits on May 5, 2015
  1. Merge pull request #489 from lrascao/fix/crash_on_failed_lfe_build

    Fix crash on failed build console output
    ferd committed May 5, 2015