summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Plugin templates enabledFred Hebert2015-12-1914-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 #923 from tsloughter/hex_cdnFred Hebert2015-12-199-52/+96
|\ \ \ \ | |/ / / |/| | | support temporary cdn change with HEX_CDN os var
| * | | support temporary cdn change with HEX_CDN os varTristan Sloughter2015-12-199-52/+96
|/ / /
* | | Merge pull request #988 from ferd/schutm-wrong-pathsTristan Sloughter2015-12-192-4/+70
|\ \ \ | | | | | | | | Fix wrong relative path resolution
| * | | Add tests for base_dir reconfigurationFred Hebert2015-12-191-3/+40
| | | | | | | | | | | | | | | | Tests both absolutes and relative paths.
| * | | Merge branch 'master' of https://github.com/schutm/rebar3 into ↵Fred Hebert2015-12-191-1/+30
| |\ \ \ | | | | | | | | | | | | | | | schutm-wrong-paths
| | * | | Fix wrong relative path resolutionschutm2015-12-101-1/+30
| | |/ /
* | | | Merge pull request #986 from ferd/fix-bad-tpl-index-handlingTristan Sloughter2015-12-1910-10/+173
|\ \ \ \ | |/ / / |/| | | A bad template index does not crash; shows warning
| * | | A bad template index does not crash; shows warningFred Hebert2015-12-1810-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_totalsFred Hebert2015-12-181-0/+18
|\ \ \ | |/ / |/| | Add support for total code coverage
| * | Account for division by zeroPanagiotis PJ Papadomitsos2015-12-161-0/+2
| | |
| * | Add support for total code coveragePanagiotis PJ Papadomitsos2015-12-161-0/+16
|/ /
* | Merge pull request #967 from talentdeficit/mib_include_fixFred Hebert2015-12-082-35/+37
|\ \ | | | | | | symlink mib hrl output in apps `include' directories
| * | remove mib header file in `priv/mibs/include'alisdair sullivan2015-12-082-13/+1
| | |
| * | symlink mib hrl output in apps `include' directoriesalisdair sullivan2015-12-062-31/+45
| | | | | | | | | | | | this restores compatibility with rebar2 and erlang.mk
* | | Merge pull request #970 from tsloughter/certifi_0.3.0Fred Hebert2015-12-072-2/+2
|\ \ \ | | | | | | | | upgrade certifi to latest release
| * | | upgrade certifi to latest releaseTristan Sloughter2015-12-072-2/+2
|/ / /
* | | Merge pull request #965 from ferd/tsloughter-tup_umergeTristan Sloughter2015-12-063-35/+124
|\ \ \ | |/ / |/| | fix tupple merging for realsies.
| * | Actually fix tuple merging.Fred Hebert2015-12-062-30/+60
| | | | | | | | | | | | Full rewrite, code should be understandable now.
| * | Merge branch 'tup_umerge' of https://github.com/tsloughter/rebar3 into ↵Fred Hebert2015-12-061-5/+64
| |\ \ |/ / / | | | | | | tsloughter-tup_umerge
| * | add tests for setting per-profile sys_config variables for relxTristan Sloughter2015-12-061-5/+64
| | |
* | | Merge pull request #963 from ferd/tup_merge-testsTristan Sloughter2015-12-062-9/+87
|\ \ \ | |/ / |/| | Tup merge tests
| * | Fix tuple umergingFred Hebert2015-12-061-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 deduplicationFred Hebert2015-12-061-2/+69
|/ / | | | | | | (the tests fail)
* | Merge pull request #948 from toland/fix_mib_compilerFred Hebert2015-12-012-8/+18
|\ \ | | | | | | Fix a small bug in the MIB compiler when building dependencies
| * | Added tests and fixed a bugPhil Toland2015-12-012-5/+11
| | |
| * | Fix a small bug in the MIB compiler when building dependenciesPhil Toland2015-11-301-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-verboseTristan Sloughter2015-12-011-1/+2
|\ \ \ | | | | | | | | Default to no eunit formatter if verbose specified
| * | | Default to no eunit formatter if verbose specifiedJulian Squires2015-12-011-1/+2
|/ / / | | | | | | | | | The previous default meant that verbose output would not be emitted.
* | | Merge pull request #949 from tsloughter/eunit_configFred Hebert2015-11-301-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 configTristan Sloughter2015-11-301-1/+1
| | |
* | | Merge pull request #945 from tsloughter/auto_updateFred Hebert2015-11-292-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 foundTristan Sloughter2015-11-292-7/+41
|/ /
* | Merge pull request #943 from tsloughter/s3_compatFred Hebert2015-11-261-2/+0
|\ \ | | | | | | remove backward_compat entry from travis s3
| * | remove backward_compat entry from travis s3Tristan Sloughter2015-11-261-2/+0
|/ /
* | Merge pull request #942 from tsloughter/relx_profilesFred Hebert2015-11-262-22/+3
|\ \ | | | | | | special handling of relx configs in profiles
| * | special handling of relx configs in profilesTristan Sloughter2015-11-262-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_pFred Hebert2015-11-251-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 unixTristan Sloughter2015-11-251-1/+1
|/ /
* | Merge pull request #934 from tsloughter/dedup_providersFred Hebert2015-11-235-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 rebar3Tristan Sloughter2015-11-231-0/+7
| | |
| * | if a provider of the same namespace and name already exists, skip adding new ↵Tristan Sloughter2015-11-234-7/+25
|/ / | | | | | | provider
* | Merge pull request #930 from ferd/handle-new-flagTristan Sloughter2015-11-192-2/+43
|\ \ | | | | | | Handle force flags in leading position
| * | Handle force flags in leading positionFred Hebert2015-11-192-2/+43
|/ / | | | | | | The checking of flags and the parsing of arguments is separated up.
* | Merge pull request #928 from ferd/bump-cth_readableTristan Sloughter2015-11-182-2/+2
|\ \ | | | | | | Ct output improvements
| * | Ct output improvementsFred Hebert2015-11-182-2/+2
|/ / | | | | | | | | - eunit assert look better - lager logs to the html logs
* | Merge pull request #927 from tsloughter/eunit_18_2Fred Hebert2015-11-182-2/+2
|\ \ | | | | | | upgrade eunit_formatters to 0.3.1 for OTP18 bug fix
| * | upgrade eunit_formatters to 0.3.1 for OTP18 bug fixTristan Sloughter2015-11-182-2/+2
|/ /
* | Merge pull request #924 from tsloughter/pgks_fixFred Hebert2015-11-171-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 Sloughter2015-11-171-2/+14
| | | | | | | | | | | | support