summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Shell handles all possible relx app formatsFred Hebert2015-09-261-2/+15
| | | | | | | | | The list of applications in the relx config section could contain tuples. The tuple will either contain a version constraint for the app, the start type of the app or both. This fix silently expands `{shell_apps, [Apps]}` to support the same format.
* Properly warn on missing rebar3 depsFred Hebert2015-09-261-10/+23
| | | | | | | | | | | | The current code could not cope with missing dependencies, as they would prevent the rebar3 app from loading or properly building its config, which prevented the log state from being carried along with default values. This in turn would turn in an escript-level error that obfuscated the true source of failure. This patch bypasses the whole state setup and logging macros and logs an error message manually when a dependency such as crypto or SSL is missing from the Erlang install.
* Merge pull request #826 from talentdeficit/expose_more_sourcesFred Hebert2015-09-251-0/+7
|\ | | | | add an export to allow specifing arbitrary extra erl files to be compiled
| * add an export to allow specifing arbitrary extra erl files to be compiledalisdair sullivan2015-09-211-0/+7
| | | | | | | | to `rebar_erlc_compiler`
* | Merge pull request #800 from talentdeficit/extract_path_utilsFred Hebert2015-09-252-2/+56
|\ \ | | | | | | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests
| * | function name changes:alisdair sullivan2015-09-142-24/+24
| | | | | | | | | | | | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2`
| * | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' andalisdair sullivan2015-09-132-2/+56
| | | | | | | | | | | | add tests
* | | Merge pull request #814 from tsloughter/cmd_seqFred Hebert2015-09-251-0/+1
|\ \ \ | | | | | | | | add DEBUG statement of the command sequence that'll be run
| * | | add DEBUG statement of the command sequence that'll be runTristan Sloughter2015-09-191-0/+1
| | | |
* | | | handle newly added deps to config even when lock is emptyTristan Sloughter2015-09-241-3/+0
| | | |
* | | | Merge pull request #821 from project-fifo/consult_and_eval-fixFred Hebert2015-09-221-1/+15
|\ \ \ \ | | | | | | | | | | Fix consult_and_eval/2 to behave like consult
| * | | | Fix consult_and_eval/2 to behave like consultHeinz N. Gies2015-09-201-1/+15
| | | | |
* | | | | Merge pull request #827 from project-fifo/nice-dialyzerFred Hebert2015-09-221-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Write original messages not fancy ones to disk
| * | | | | Write original messages not fancy ones to diskHeinz N. Gies2015-09-221-2/+2
| | | | | |
* | | | | | Merge pull request #823 from project-fifo/nice-dialyzerFred Hebert2015-09-222-12/+408
|\ \ \ \ \ \ | |/ / / / / | | | | | | Colorized dialyzer output
| * | | | | Use bold instead of bold white for textHeinz N. Gies2015-09-221-89/+89
| | | | | |
| * | | | | Remove rebar_colour and replace it with cfHeinz N. Gies2015-09-222-104/+2
| | | | | |
| * | | | | Fix bad string caused by missing fmt callHeinz N. Gies2015-09-221-3/+3
| | | | | |
| * | | | | Split out colour printing code in own moduleHeinz N. Gies2015-09-212-96/+104
| | | | | |
| * | | | | Fix some indentation and add debug on format errorsHeinz N. Gies2015-09-211-77/+80
| | | | | |
| * | | | | Enable highlighting in contractsHeinz N. Gies2015-09-211-9/+7
| | | | | |
| * | | | | Fix colors for bad and good argsHeinz N. Gies2015-09-211-2/+3
| | | | | |
| * | | | | Remove dubplicated call to format_warningHeinz N. Gies2015-09-211-1/+0
| | | | | |
| * | | | | Check term cap for color outputHeinz N. Gies2015-09-211-16/+17
| | | | | |
| * | | | | Make it easy to switch colors off in cfmtHeinz N. Gies2015-09-211-48/+58
| | | | | |
| * | | | | Add missing colors to cfmtHeinz N. Gies2015-09-211-0/+21
| | | | | |
| * | | | | Remove color login from textHeinz N. Gies2015-09-211-141/+176
| | | | | |
| * | | | | Color the remaining functions in basic a wayHeinz N. Gies2015-09-211-66/+75
| | | | | |
| * | | | | Formating for inproper list constructionHeinz N. Gies2015-09-211-3/+3
| | | | | |
| * | | | | Add no local return stylingHeinz N. Gies2015-09-211-1/+1
| | | | | |
| * | | | | Shorten filenames slightlyHeinz N. Gies2015-09-211-1/+12
| | | | | |
| * | | | | Add more messages, split up display in more then 1 lineHeinz N. Gies2015-09-211-27/+43
| | | | | |
| * | | | | Add 'will never return' warning to nice warningsHeinz N. Gies2015-09-211-18/+45
| | | | | |
| * | | | | Colorize the first dialyzer messageHeinz N. Gies2015-09-212-12/+371
| | | | | |
* | | | | | Improve semantic versioning from git between tagsZachary Hueras2015-09-211-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the scenario we that we have selected a commit that is between two tags, we should base the version on the most recent tag we can see in the revision history, but we should not treat this as the tag version. `git describe --tags --abbrev=0` finds the most recent tag visible in the revision history from the current HEAD. Return this as the version string and undefined as the tag to trigger ref counting.
* | | | | | Only match current HEAD tag in git semverZachary Hueras2015-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the scenario that someone had cloned an entire repository and then checked out an older version tag, the semantic versioning would detect the newest tag, not the checked out tag. Look for the HEAD string prior to tag: to indicate the currently selected tag.
* | | | | | include source the app is being ugpraded to, like with fetching, in infoTristan Sloughter2015-09-201-1/+1
|/ / / / /
* | | | | handle case that upgraded app no longer has .app.src fileTristan Sloughter2015-09-203-13/+13
|/ / / /
* | | | update erlware_commonsTristan Sloughter2015-09-191-0/+2
| | | |
* | | | make v prefix in git tag version optionalTristan Sloughter2015-09-191-1/+1
| | | |
* | | | Revert "Improved git versioning"Tristan Sloughter2015-09-191-8/+2
|/ / /
* | | uses erlang-certifiBenoit Chesneau2015-09-183-3874/+3
| | |
* | | Merge pull request #786 from tsloughter/api_compileFred Hebert2015-09-175-5/+64
|\ \ \ | | | | | | | | add 'bare compile' provider, for starters for use by mix
| * | | append ebin dirs to path in local start scriptTristan Sloughter2015-09-141-1/+1
| | | |
| * | | add --paths option to bare compile providerTristan Sloughter2015-09-141-9/+22
| | | |
| * | | escript should append the ebin dirs to the code path not prependTristan Sloughter2015-09-141-1/+1
| | | |
| * | | add rebar3 paths to the end of the code path in start scriptTristan Sloughter2015-09-141-2/+1
| | | |
| * | | add bare compile provider, for starters for use by mixTristan Sloughter2015-09-143-1/+48
| | | |
* | | | Merge pull request #811 from fauxsoup/improved-git-versioningTristan Sloughter2015-09-171-2/+8
|\ \ \ \ | | | | | | | | | | Improved git versioning
| * | | | Improve semantic versioning from git between tagsZachary Hueras2015-09-161-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the scenario we that we have selected a commit that is between two tags, we should base the version on the most recent tag we can see in the revision history, but we should not treat this as the tag version. `git describe --tags` finds the most recent tag visible in the revision history from the current HEAD. Return this as the version string and undefined as the tag to trigger ref counting.