Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Plugin templates enabled | Fred Hebert | 2015-12-19 | 14 | -8/+181 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets a plugin define templates to be loaded: $ rebar3 new ... proper (plugin): A basic PropEr suite for an OTP application ... $ rebar3 new help proper proper: plugin template (...) Description: A basic PropEr suite for an OTP application Variables: name="suite" (...) ... → rebar3 new proper fakesuite ===> Writing test/prop_fakesuite.erl In this case, proper is a fake template file I've put by hand in _build/default/plugins/rebar3_proper/priv/<somename>/, meaning it will only work as far as it's called from the project's root. The priority order of plugins is now .config > plugin > built-in, such that someone could ensure plugins do not crush their own private templates, but also that custom or plugin templates do overtake built-in ones. It used to be Built-in > .config only. Templates are searched for recursively in the priv/ directory of plugins. | ||||
* | Merge pull request #988 from ferd/schutm-wrong-paths | Tristan Sloughter | 2015-12-19 | 2 | -4/+70 |
|\ | | | | | Fix wrong relative path resolution | ||||
| * | Add tests for base_dir reconfiguration | Fred Hebert | 2015-12-19 | 1 | -3/+40 |
| | | | | | | | | Tests both absolutes and relative paths. | ||||
| * | Merge branch 'master' of https://github.com/schutm/rebar3 into ↵ | Fred Hebert | 2015-12-19 | 1 | -1/+30 |
| |\ | | | | | | | | | | schutm-wrong-paths | ||||
| | * | Fix wrong relative path resolution | schutm | 2015-12-10 | 1 | -1/+30 |
| | | | |||||
* | | | Merge pull request #986 from ferd/fix-bad-tpl-index-handling | Tristan Sloughter | 2015-12-19 | 10 | -10/+173 |
|\ \ \ | |/ / |/| | | A bad template index does not crash; shows warning | ||||
| * | | A bad template index does not crash; shows warning | Fred Hebert | 2015-12-18 | 10 | -10/+173 |
| |/ | | | | | | | | | | | | | | | This should fix #955 The test is implicit as a bad index previously silently crashed rebar3. By adding the bad index to the `new` suite's files, we can show that things keep running. | ||||
* | | Merge pull request #983 from priestjim/feature/cover_totals | Fred Hebert | 2015-12-18 | 1 | -0/+18 |
|\ \ | |/ |/| | Add support for total code coverage | ||||
| * | Account for division by zero | Panagiotis PJ Papadomitsos | 2015-12-16 | 1 | -0/+2 |
| | | |||||
| * | Add support for total code coverage | Panagiotis PJ Papadomitsos | 2015-12-16 | 1 | -0/+16 |
|/ | |||||
* | Merge pull request #967 from talentdeficit/mib_include_fix | Fred Hebert | 2015-12-08 | 2 | -35/+37 |
|\ | | | | | symlink mib hrl output in apps `include' directories | ||||
| * | remove mib header file in `priv/mibs/include' | alisdair sullivan | 2015-12-08 | 2 | -13/+1 |
| | | |||||
| * | symlink mib hrl output in apps `include' directories | alisdair sullivan | 2015-12-06 | 2 | -31/+45 |
| | | | | | | | | this restores compatibility with rebar2 and erlang.mk | ||||
* | | Merge pull request #970 from tsloughter/certifi_0.3.0 | Fred Hebert | 2015-12-07 | 2 | -2/+2 |
|\ \ | | | | | | | upgrade certifi to latest release | ||||
| * | | upgrade certifi to latest release | Tristan Sloughter | 2015-12-07 | 2 | -2/+2 |
|/ / | |||||
* | | Merge pull request #965 from ferd/tsloughter-tup_umerge | Tristan Sloughter | 2015-12-06 | 3 | -35/+124 |
|\ \ | |/ |/| | fix tupple merging for realsies. | ||||
| * | Actually fix tuple merging. | Fred Hebert | 2015-12-06 | 2 | -30/+60 |
| | | | | | | | | Full rewrite, code should be understandable now. | ||||
| * | Merge branch 'tup_umerge' of https://github.com/tsloughter/rebar3 into ↵ | Fred Hebert | 2015-12-06 | 1 | -5/+64 |
| |\ |/ / | | | | | tsloughter-tup_umerge | ||||
| * | add tests for setting per-profile sys_config variables for relx | Tristan Sloughter | 2015-12-06 | 1 | -5/+64 |
| | | |||||
* | | Merge pull request #963 from ferd/tup_merge-tests | Tristan Sloughter | 2015-12-06 | 2 | -9/+87 |
|\ \ | |/ |/| | Tup merge tests | ||||
| * | Fix tuple umerging | Fred Hebert | 2015-12-06 | 1 | -7/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | - proper segregation of comparison between tuple terms and non-tuple terms. Guards weren't specific enough and that meant the wrong clauses of guards would be triggered - proper deduplication of entries in the list. An additional N passes are required (we co-opt the reverse step to be more efficient) because while the original lists:umerge easily removes dupes, this is requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison of direct neighbours isn't enough. | ||||
| * | Add test cases for tuple deduplication | Fred Hebert | 2015-12-06 | 1 | -2/+69 |
|/ | | | | (the tests fail) | ||||
* | Merge pull request #948 from toland/fix_mib_compiler | Fred Hebert | 2015-12-01 | 2 | -8/+18 |
|\ | | | | | Fix a small bug in the MIB compiler when building dependencies | ||||
| * | Added tests and fixed a bug | Phil Toland | 2015-12-01 | 2 | -5/+11 |
| | | |||||
| * | Fix a small bug in the MIB compiler when building dependencies | Phil Toland | 2015-11-30 | 1 | -4/+8 |
| | | | | | | | | | | | | | | When compiling a dependency with a MIB file the generated hrl file is left in the root project directory in a file called "include". This has the perverse effect of messing up the search path for include files causing any dependencies with files in their "include" directory to fail to build after that. | ||||
* | | Merge pull request #935 from tokenrove/fix-eunit-verbose | Tristan Sloughter | 2015-12-01 | 1 | -1/+2 |
|\ \ | | | | | | | Default to no eunit formatter if verbose specified | ||||
| * | | Default to no eunit formatter if verbose specified | Julian Squires | 2015-12-01 | 1 | -1/+2 |
|/ / | | | | | | | The previous default meant that verbose output would not be emitted. | ||||
* | | Merge pull request #949 from tsloughter/eunit_config | Fred Hebert | 2015-11-30 | 1 | -1/+1 |
|\ \ | |/ |/| | fetch eunit_formatters config not from the command args but from the config | ||||
| * | fetch eunit_formatters config not from the command args but from the config | Tristan Sloughter | 2015-11-30 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #945 from tsloughter/auto_update | Fred Hebert | 2015-11-29 | 2 | -7/+41 |
|\ \ | |/ | | | auto-update the registry if a pkg isn't found, fail if it still isn't found | ||||
| * | auto-update the registry if a pkg isn't found, fail if it still isn't found | Tristan Sloughter | 2015-11-29 | 2 | -7/+41 |
|/ | |||||
* | Merge pull request #943 from tsloughter/s3_compat | Fred Hebert | 2015-11-26 | 1 | -2/+0 |
|\ | | | | | remove backward_compat entry from travis s3 | ||||
| * | remove backward_compat entry from travis s3 | Tristan Sloughter | 2015-11-26 | 1 | -2/+0 |
|/ | |||||
* | Merge pull request #942 from tsloughter/relx_profiles | Fred Hebert | 2015-11-26 | 2 | -22/+3 |
|\ | | | | | special handling of relx configs in profiles | ||||
| * | special handling of relx configs in profiles | Tristan Sloughter | 2015-11-26 | 2 | -22/+3 |
| | | | | | | | | | | | | | | | | | | | | | | Relx config need new values at the end of the list and profile additions prepended. So now in apply_profile in the case it is a relx config we prepend the config list. This does, however, mean that a profile release can not 'extend' a release defined in the default profile since the one being extended would have its definition after the profile release and thus relx would not be able to use its values for extending. | ||||
* | | Merge pull request #941 from tsloughter/cp_r_p | Fred Hebert | 2015-11-25 | 1 | -1/+1 |
|\ \ | |/ | | | preserve attributes when copying files in rebar_utils:cp_r for unix | ||||
| * | preserve attributes when copying files in rebar_utils:cp_r for unix | Tristan Sloughter | 2015-11-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #934 from tsloughter/dedup_providers | Fred Hebert | 2015-11-23 | 5 | -7/+32 |
|\ | | | | | don't add a provider if the same namespace and name already exists | ||||
| * | just delete erlware_commons rebar.config.script, it isn't needed for rebar3 | Tristan Sloughter | 2015-11-23 | 1 | -0/+7 |
| | | |||||
| * | if a provider of the same namespace and name already exists, skip adding new ↵ | Tristan Sloughter | 2015-11-23 | 4 | -7/+25 |
|/ | | | | provider | ||||
* | Merge pull request #930 from ferd/handle-new-flag | Tristan Sloughter | 2015-11-19 | 2 | -2/+43 |
|\ | | | | | Handle force flags in leading position | ||||
| * | Handle force flags in leading position | Fred Hebert | 2015-11-19 | 2 | -2/+43 |
|/ | | | | The checking of flags and the parsing of arguments is separated up. | ||||
* | Merge pull request #928 from ferd/bump-cth_readable | Tristan Sloughter | 2015-11-18 | 2 | -2/+2 |
|\ | | | | | Ct output improvements | ||||
| * | Ct output improvements | Fred Hebert | 2015-11-18 | 2 | -2/+2 |
|/ | | | | | - eunit assert look better - lager logs to the html logs | ||||
* | Merge pull request #927 from tsloughter/eunit_18_2 | Fred Hebert | 2015-11-18 | 2 | -2/+2 |
|\ | | | | | upgrade eunit_formatters to 0.3.1 for OTP18 bug fix | ||||
| * | upgrade eunit_formatters to 0.3.1 for OTP18 bug fix | Tristan Sloughter | 2015-11-18 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #924 from tsloughter/pgks_fix | Fred Hebert | 2015-11-17 | 1 | -2/+14 |
|\ | | | | | only add package list of versions to registry if it has the right build tool support | ||||
| * | only add package list of versions to registry if it has the right buildtool ↵ | Tristan Sloughter | 2015-11-17 | 1 | -2/+14 |
| | | | | | | | | support | ||||
* | | Merge pull request #925 from tsloughter/eunit_18 | Fred Hebert | 2015-11-17 | 2 | -2/+2 |
|\ \ | | | | | | | upgrade eunit_formatters for OTP 18 support | ||||
| * | | upgrade eunit_formatters for OTP 18 support | Tristan Sloughter | 2015-11-17 | 2 | -2/+2 |
| |/ |