Fred Hebert
6a4b5428b3
Properly warn on missing rebar3 deps
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.
9 years ago
Fred Hebert
4d45f27955
Merge pull request #837 from talentdeficit/extract_path_utils
fix canonical path tests on windows
9 years ago
alisdair sullivan
09cc07e172
fix canonical path tests on windows
9 years ago
Fred Hebert
d0bcd95813
Merge pull request #826 from talentdeficit/expose_more_sources
add an export to allow specifing arbitrary extra erl files to be compiled
9 years ago
Fred Hebert
9cd557b6ed
Merge pull request #806 from talentdeficit/ct_data_dir_tests
test for ensuring `data_dir` is set correctly in ct configs
9 years ago
Fred Hebert
509c7afec6
Merge pull request #800 from talentdeficit/extract_path_utils
extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests
9 years ago
Fred Hebert
4d76a556e2
Merge pull request #814 from tsloughter/cmd_seq
add DEBUG statement of the command sequence that'll be run
9 years ago
Tristan Sloughter
c87a6b18c0
Merge pull request #835 from rebar/update-relx
Bump relx to 3.7.0
9 years ago
Fred Hebert
43636939ef
Bump relx to 3.7.0
9 years ago
Fred Hebert
0b0c119d3d
Merge pull request #834 from tsloughter/newly_added
handle newly added deps to config even when lock is empty
9 years ago
Tristan Sloughter
3b0584abd6
handle newly added deps to config even when lock is empty
9 years ago
Fred Hebert
762e8da4d3
Merge pull request #821 from project-fifo/consult_and_eval-fix
Fix consult_and_eval/2 to behave like consult
9 years ago
Fred Hebert
9c5d4bfac5
Merge pull request #827 from project-fifo/nice-dialyzer
Write original messages not fancy ones to disk
9 years ago
Heinz N. Gies
8959ffa151
Write original messages not fancy ones to disk
9 years ago
Fred Hebert
fa33d65c93
Merge pull request #823 from project-fifo/nice-dialyzer
Colorized dialyzer output
9 years ago
Heinz N. Gies
ea95e68ab0
Use bold instead of bold white for text
9 years ago
Tristan Sloughter
86478aa2e6
Merge pull request #825 from fauxsoup/git-versioning-2
Git versioning 2
9 years ago
Heinz N. Gies
6557820cc7
Remove rebar_colour and replace it with cf
9 years ago
Heinz N. Gies
a00cc833ad
Fix bad string caused by missing fmt call
9 years ago
Heinz N. Gies
3c917be234
Split out colour printing code in own module
9 years ago
Heinz N. Gies
f49ddaaf75
Fix some indentation and add debug on format errors
9 years ago
Heinz N. Gies
f0812710e3
Enable highlighting in contracts
9 years ago
Heinz N. Gies
ffe84add67
Fix colors for bad and good args
9 years ago
Heinz N. Gies
de7b8b84bf
Remove dubplicated call to format_warning
9 years ago
Heinz N. Gies
c49327c817
Check term cap for color output
9 years ago
Heinz N. Gies
e6ef19ecb3
Make it easy to switch colors off in cfmt
9 years ago
Heinz N. Gies
a6f067cb04
Add missing colors to cfmt
9 years ago
alisdair sullivan
9d82215296
add an export to allow specifing arbitrary extra erl files to be compiled
to `rebar_erlc_compiler`
9 years ago
Heinz N. Gies
5ad1687fe5
Remove color login from text
9 years ago
Heinz N. Gies
2d93ba32c1
Color the remaining functions in basic a way
9 years ago
Heinz N. Gies
3ea484530f
Formating for inproper list construction
9 years ago
Zachary Hueras
2fa68051ef
Improve semantic versioning from git between tags
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.
9 years ago
Zachary Hueras
a70c1baf79
Only match current HEAD tag in git semver
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.
9 years ago
Heinz N. Gies
bba67f8b21
Add no local return styling
9 years ago
Heinz N. Gies
cbbd8b60a1
Shorten filenames slightly
9 years ago
Heinz N. Gies
59cbba3f1a
Add more messages, split up display in more then 1 line
9 years ago
Fred Hebert
f7073eaf9b
Merge pull request #824 from tsloughter/upgrade_source
include source the app is being ugpraded to, like with fetching, in info
9 years ago
Tristan Sloughter
a58ef016b1
include source the app is being ugpraded to, like with fetching, in info
9 years ago
Heinz N. Gies
6f7f3eabb8
Add 'will never return' warning to nice warnings
9 years ago
Heinz N. Gies
dd9a0bb8a8
Colorize the first dialyzer message
9 years ago
Fred Hebert
5159939b0b
Merge pull request #822 from tsloughter/upgrade_app_src
handle case that upgraded app no longer has .app.src file
9 years ago
Tristan Sloughter
8421d5ce81
handle case that upgraded app no longer has .app.src file
9 years ago
Heinz N. Gies
0867cadbd7
Fix consult_and_eval/2 to behave like consult
9 years ago
Fred Hebert
fb63743bc6
Merge pull request #817 from tsloughter/update_erlware_commons
Update erlware commons and relx
9 years ago
Tristan Sloughter
40d7350ee8
update relx
9 years ago
Tristan Sloughter
860df96cd5
update erlware_commons
9 years ago
Fred Hebert
4ca8159be8
Merge pull request #816 from tsloughter/git_v_opt
make v prefix in git tag version optional
9 years ago
Tristan Sloughter
85ce3628c1
make v prefix in git tag version optional
9 years ago
Tristan Sloughter
0c3b2fd14c
Merge pull request #815 from rebar/revert-811-improved-git-versioning
Revert "Improved git versioning"
9 years ago
Tristan Sloughter
722d264c9b
Revert "Improved git versioning"
9 years ago