summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for multi-app edoc linking workingFred Hebert2016-08-2513-0/+321
|
* Make Edoc carry paths of pre-built librariesFred Hebert2016-08-251-9/+26
| | | | | | | | | | | Given the topological sort applied to top-level apps, we should be able to carry the edoc values for paths configured when more than one app exists. This allows multiple disjoint app to have defined cross-linking in the documentation. Tests pending.
* Merge pull request #1300 from raek/masteralisdair sullivan2016-08-151-1/+4
|\ | | | | Print error on too many help arguments
| * Print error on too many help argumentsRasmus Svensson2016-08-151-1/+4
|/ | | | | | | Previously the help task would crash when given more than two arguments. After this change it instead print a message: Too many arguments given. Usage: rebar3 help [<namespace>] <task>
* Merge pull request #1299 from ferd/hookable-escriptFred Hebert2016-08-142-2/+11
|\ | | | | Hookable escript
| * Use hooks to generate rebar3 executable fasterFred Hebert2016-08-131-0/+4
| | | | | | | | | | | | | | | | | | Repeats some of the steps used in the bootstrap script for non-windows systems so that 'rebar3 escriptize' can be used in development for faster results: - ./bootstrap 9.95s user 1.55s system 102% cpu 11.234 total - rebar3 escriptize 0.49s user 0.14s system 101% cpu 0.623 total
| * Make the escriptize provider hookableFred Hebert2016-08-131-2/+7
|/ | | | This will allow to move and modify the generated files
* Merge pull request #1298 from ferd/escript-filter-paths-fixFred Hebert2016-08-101-1/+3
|\ | | | | Fix filtering of system libraries in escriptize
| * Fix filtering of system libraries in escriptizeFred Hebert2016-08-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/erlang/rebar3/pull/1249 introduced a mechanism by which escript dependencies of applications only would be included; this required adding a filter to skip system libraries in the OTP root because that tends to break escripts in very nasty ways. However, the problem came that some libraries are just not in the escript path but may still be included; for these libraries the path prefix check failed as they return `{error, bad_name}` from `code:lib_dir(Dep)` rather than just the path they're in -- specifically, this happens with top level apps. The issue was reported in https://github.com/erlang/rebar3/issues/1294 and the current patch fixes it by accepting a `bad_name` dep as valid, since it is obviously not in the root path.
* | Merge pull request #1288 from ElectronicRU/masterFred Hebert2016-08-101-1/+1
|\ \ | | | | | | Typo fix.
| * | Typo fix.Alexander Sedov2016-08-041-1/+1
| | |
* | | Merge pull request #1282 from ssbx/custom_template_dirFred Hebert2016-08-102-2/+3
|\ \ \ | | | | | | | | template_dir option was forgotten in documentation plus recurse in di…
| * | | template_dir option was forgotten in documentation plus recurse in directory ↵Sébastien Serre2016-07-232-2/+3
| | | | | | | | | | | | | | | | added
* | | | Merge pull request #1291 from waisbrot/catch-missing-appFred Hebert2016-08-102-3/+31
|\ \ \ \ | |_|_|/ |/| | | Handle `escriptize` when the specified app is missing
| * | | Handle `escriptize` when the specified app is missingNathaniel Waisbrot2016-08-042-3/+31
| | |/ | |/| | | | | | | | | | When rebar.config contains a `escript_main_app` option, but the specified app doesn't exist in the build directory, print an error.
* | | Merge pull request #1297 from brigadier/patch-1Fred Hebert2016-08-091-0/+1
|\ \ \ | |/ / |/| | Ignore IntelliJ IDEA files
| * | Ignore IntelliJ IDEA filesEvgeny M2016-08-091-0/+1
|/ / | | | | This family of IDE with Erlang plugin is already quite popular.
* | Merge pull request #1274 from deadtrickster/ssl_verify_fun_bumpFred Hebert2016-08-014-37/+29
|\ \ | | | | | | ssl_verify_hostname was renamed to ssl_verify_fun
| * | ssl_verify_hostname was renamed to ssl_verify_funIlya Khaprov2016-07-154-37/+29
| | |
* | | Merge pull request #1270 from ferd/add-issue-templatealisdair sullivan2016-07-311-0/+31
|\ \ \ | | | | | | | | Add issue template to help people fill tickets
| * | | Add issue template to help people fill ticketsFred Hebert2016-07-121-0/+31
| | | |
* | | | Merge pull request #1279 from gbour/fix-dialyzeralisdair sullivan2016-07-311-0/+2
|\ \ \ \ | |_|_|/ |/| | | fix catching `not_valid` error on dialyzer
| * | | Fix return error on `not_valid` to force .plt file regenerationGuillaume Bour2016-07-301-2/+1
| | | |
| * | | Fix support for `not_valid` dialyzer errorGuillaume Bour2016-07-221-0/+3
| | |/ | |/|
* | | Merge pull request #1280 from ferd/fix-warning-optsFred Hebert2016-07-221-1/+7
|\ \ \ | |/ / |/| | Fix opts check when compiler called with dict opts
| * | Fix opts check when compiler called with dict optsFred Hebert2016-07-221-1/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rebar_base_compiler allows to be called with two types of options: a dictionary, or a rebar_state record. In the later case, the options are taken out with a call from rebar_opts, which fetches options that have been inserted in the application via rebar_app_info as part of the app_discovery phase, and are a list. This yields a possibility that options used when formatting warnings can either be a list of a dict, and we only used lists when making checks. This ended up breaking 3rd party compiler users (i.e. LFE compile plugin) since they were calling us with a dict rather than our own internal records. This patch supports both types of lookups to avoid issues.
* | Merge pull request #1268 from stuart-thackray/relx_upgrade_3.20.0Fred Hebert2016-07-122-3/+3
|\ \ | |/ |/| Relx upgrade to version 3.20.0
| * rebar update relxStuart Thackray2016-07-121-2/+2
| |
| * upgrade relx versionStuart Thackray2016-07-121-1/+1
|/
* Merge pull request #1266 from ferd/add-otp-19-travisFred Hebert2016-07-111-0/+1
|\ | | | | Add OTP 19.0 to travis
| * Add OTP 19.0 to travisFred Hebert2016-07-111-0/+1
|/
* Merge pull request #1265 from fishcakez/avoid-rebuildFred Hebert2016-07-111-3/+16
|\ | | | | Avoid PLT rebuild when files deleted on new dialyzer
| * Avoid PLT rebuild when files deleted on new dialyzerJames Fish2016-07-111-3/+16
|/
* Merge pull request #1262 from fishcakez/empty-pltFred Hebert2016-07-112-7/+96
|\ | | | | Handle empty PLT or app when using dialyzer
| * Don't error when analyzing empty appJames Fish2016-07-112-5/+22
| |
| * Handle empty PLTsJames Fish2016-07-112-3/+75
|/
* Merge pull request #1249 from ferd/required-escript-depsFred Hebert2016-07-084-9/+23
|\ | | | | Escriptize based on configured apps only
| * Fix invalid template valueFred Hebert2016-06-261-1/+1
| | | | | | | | Used a nonexisting option instead of a correct one
| * Escriptize based on configured apps onlyFred Hebert2016-06-263-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | Prior to this patch, the escriptize command flat out selected all declared dependencies. This patch instead looks at the app files and only includes the dependencies of the top level app and the extra ones, avoiding to package more apps than required. This required a version bump on cth_readable as it mistakenly included 'syntax_lib' instead of 'syntax_tools' as a dependency.
* | Merge pull request #1251 from srstrong/masterFred Hebert2016-06-282-3/+3
|\ \ | |/ |/| Fixes for windows environment: 1) copy empty directories when cloning…
| * Fixes for windows environment: 1) copy empty directories when cloning (since ↵Steve Strong2016-06-282-3/+3
|/ | | | git occasionally has a refs directory with no files in it - if the directory is not present, then git does not believe it is a git repo) and 2) change order of git rev-parse arguments to match git docs
* Merge pull request #1207 from ferd/pkg-local-hash-lockFred Hebert2016-06-2220-77/+379
|\ | | | | lock file contains expected hash for pkg dependencies
| * Only display old version warning onceFred Hebert2016-06-101-4/+17
| | | | | | | | | | This uses the env variable as a global store for variables. It's not the cleanest thing, but it sounded nicer than pdicts.
| * Hashes in lockfile are diff friendlyFred Hebert2016-06-092-34/+45
| | | | | | | | | | | | | | | | | | | | This reworks the version and hash printing in the lockfile to minimize diff changes: - the version is on its own line so that the locks are mostly the same aside from the last line - the hashes are each printed on one line with the package name for simpler diffing too.
| * Hide the expected hash on fetch outputFred Hebert2016-05-251-1/+5
| |
| * Testing expected hash behaviour and errors in pkgsFred Hebert2016-05-254-7/+116
| | | | | | | | - also making sure unlocking works fine
| * Make tests passFred Hebert2016-05-243-11/+18
| | | | | | | | | | Tests have broken as locks were expanded and auto-filled newer versions of lockfiles. This fixes them back.
| * Rebar3 with hash-locked depsFred Hebert2016-05-241-10/+32
| |
| * Validate checksums expected vs obtainedFred Hebert2016-05-242-7/+16
| |
| * Fetch hashes from index prior to fetchingFred Hebert2016-05-241-1/+8
| |