Fred Hebert
2c7296babf
Fix opts check when compiler called with dict opts
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.
8 년 전
Guillaume Bour
ffe5e42521
Fix support for `not_valid` dialyzer error
8 년 전
Ilya Khaprov
b75f95e063
ssl_verify_hostname was renamed to ssl_verify_fun
8 년 전
Fred Hebert
0b3a8ad77e
Add issue template to help people fill tickets
8 년 전
Fred Hebert
21571ad38a
Merge pull request #1268 from stuart-thackray/relx_upgrade_3.20.0
Relx upgrade to version 3.20.0
8 년 전
Stuart Thackray
b911b75812
rebar update relx
8 년 전
Stuart Thackray
48565557e4
upgrade relx version
8 년 전
Fred Hebert
91a25c1184
Merge pull request #1266 from ferd/add-otp-19-travis
Add OTP 19.0 to travis
8 년 전
Fred Hebert
a759ed6620
Add OTP 19.0 to travis
8 년 전
Fred Hebert
47380929c4
Merge pull request #1265 from fishcakez/avoid-rebuild
Avoid PLT rebuild when files deleted on new dialyzer
8 년 전
James Fish
941048dce7
Avoid PLT rebuild when files deleted on new dialyzer
8 년 전
Fred Hebert
403d338307
Merge pull request #1262 from fishcakez/empty-plt
Handle empty PLT or app when using dialyzer
8 년 전
James Fish
0fa2b501f0
Don't error when analyzing empty app
8 년 전
James Fish
e334f211e3
Handle empty PLTs
8 년 전
Fred Hebert
8f6c13dead
Merge pull request #1249 from ferd/required-escript-deps
Escriptize based on configured apps only
8 년 전
Fred Hebert
90f9b0e619
Merge pull request #1251 from srstrong/master
Fixes for windows environment: 1) copy empty directories when cloning…
8 년 전
Steve Strong
c86201b85b
Fixes for windows environment: 1) copy empty directories when cloning (since 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
8 년 전
Fred Hebert
c3f336763f
Fix invalid template value
Used a nonexisting option instead of a correct one
8 년 전
Fred Hebert
6bc8ccefd3
Escriptize based on configured apps only
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.
8 년 전
Fred Hebert
feed75ca91
Merge pull request #1207 from ferd/pkg-local-hash-lock
lock file contains expected hash for pkg dependencies
8 년 전
Fred Hebert
4fd4195281
Merge pull request #1242 from jonathn/unset-debug
Let DEBUG="" and QUIET="" mean disable the option
8 년 전
Fred Hebert
4400ff5ce1
Merge pull request #1244 from ferd/shell-pr2relnotes-script
use logs rather than skimming github pages
8 년 전
Fred Hebert
f1ae529d58
use logs rather than skimming github pages
8 년 전
Fred Hebert
7b56c41090
go back to semver post-release
8 년 전
Fred Hebert
2ffbb80cea
Bump to 3.2.0
8 년 전
Fred Hebert
aa273a15d5
Merge pull request #1243 from jonathn/fix-unicode-tree
Fix unicode rendering of deps tree (issue #1140 )
8 년 전
Jon
c7b7b9005f
Fix unicode rendering of deps tree (issue #1140 )
8 년 전
Jon
391f3b3bec
Let DEBUG="" and QUIET="" mean disable the option
Setting DEBUG/QUIET environment variable to the empty string now acts
the same as unsetting it. Unsetting is not always easy/possible.
8 년 전
Louis-Philippe Gauthier
4ff52d991e
Add support for cover_excl_mods
8 년 전
Fred Hebert
ac69558087
Merge pull request #1234 from talentdeficit/shell_config
ignore return value of `rebar_utils:reread_config` in shell provider
9 년 전
alisdair sullivan
74cc922fb4
ignore return value of `rebar_utils:reread_config` in shell provider
9 년 전
Fred Hebert
db8dbdfbcf
Merge pull request #1233 from talentdeficit/REBAR-1199
normalize include dirs to absolute paths during compilation
9 년 전
alisdair sullivan
dfec27a1cd
normalize include dirs to absolute paths during compilation
changed include files were not properly picked up by `erlc_compiler`
in cases where they were in directories relative to the application
source and not the current working dir of rebar3
fixes #1199
9 년 전
Fred Hebert
095af3bfca
Merge pull request #1232 from talentdeficit/REBAR-1184
REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is set
9 년 전
alisdair sullivan
aba5a721e1
REBAR-1184 exclude tests for `ERL_COMPILER_OPTIONS` on r15
9 년 전
Fred Hebert
dabf56646e
Merge pull request #1227 from ferd/compiler-source-format
Compiler source paths in output are now relative
9 년 전
alisdair sullivan
fb26525a52
REBAR-1184 always recompile if `ERL_COMPILER_OPTIONS` env var is set
partially addresses #1184
9 년 전
Fred Hebert
caaa4be10d
Merge pull request #1231 from tsloughter/ct_sys_config
add support for passing a sys_config to common test
9 년 전
Tristan Sloughter
854abc1bda
add support for passing a sys_config to common test
9 년 전
Fred Hebert
e337793e9f
Merge pull request #1230 from ferd/support-env-proxy-vars
Expand os ENV proxy support to bootstrap script
9 년 전
Fred Hebert
87f9950839
Expand os ENV proxy support to bootstrap script
9 년 전
Fred Hebert
3978062dc1
Merge pull request #1229 from ferd/support-env-proxy-vars
Support ENV config for proxy values
9 년 전
Fred Hebert
398b3085fc
Support ENV config for proxy values
- The configured stuff in rebar3 takes precedence over the ENV
- The env is then chosen
9 년 전
Fred Hebert
979bb18b27
Merge pull request #1080 from project-fifo/crashdump
Write rebar3.crashdump on errors
9 년 전
Fred Hebert
71df9bf141
Only display old version warning once
This uses the env variable as a global store for variables. It's not the
cleanest thing, but it sounded nicer than pdicts.
9 년 전
Fred Hebert
589eaf13e1
Hashes in lockfile are diff friendly
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.
9 년 전
Fred Hebert
1875eadd9a
Fix alternative path printing, default is relative
This required moving the reporting functions to rebar_base_compiler but
since this was already done for error_tuple, this seems to make sense.
Paths are also reformatted for warnings in erlc files.
9 년 전
alisdair sullivan
e6d64858c5
Merge pull request #1164 from snaiper80/fix_cover_compile_error
Fix compile error case when cover compilation
9 년 전
Fred Hebert
76f30b1884
Rename 'unchanged' option to 'build'
This will allow us to eventually change the default type without it
looking ridiculous.
9 년 전
Fred Hebert
cfa0a7e409
Merge pull request #1219 from ferd/umbrella-upgrade
Bugfix for upgrading deps of umbrella apps
9 년 전