Siri Hansen
a18340c6ee
Allow using relative path to suite in project root
il y a 8 ans
Siri Hansen
e427a83530
Translate path to testspec
This is a bugfix. It makes sure that the given path to a testspec is
translated so common_test will pick the spec from the _build
directory, and not from the source tree.
il y a 8 ans
Siri Hansen
a0e7ff2eb9
Add directory of testspec as extra_src_dir
This is necessary in order to automatically get the testspec included
as an artifact (i.e. copied to the _build dir) in the case when it is
stored in another directory than 'test'.
il y a 8 ans
Siri Hansen
85e00f2a43
Improve merge of command line options and config options
Bug: option 'spec' is not specifically handled when merging options
from the command line with options from rebar.config. Due to this, if
the config specifies a 'spec', then this will take precedence over any
'dir' and/or 'suite' on the command line.
This commit takes special care of all options that can be used to
select tests - meaning that if any of the options 'spec', 'dir',
'suite', 'group' or 'case' are specified on the command line, then all
'spec', 'dir', 'suite', 'group' and 'case' options in rebar.config
will be ignored.
il y a 8 ans
Fred Hebert
9f7e79d815
Merge pull request #1403 from robertoaloi/fix-regexp-for-matching-files
Restrict regexp to match on files starting with '._'
il y a 8 ans
Roberto Aloi
74d290b9c2
Restrict regexp to match on files starting with '._'
il y a 8 ans
Fred Hebert
41d4002b99
Merge pull request #1398 from tburghart/rebar3_issue_1397
Correct precedence of compile options merged from profiles.
il y a 8 ans
Ted Burghart
1b422b921b
Added regression tests for PR 1398
il y a 8 ans
Ted Burghart
03832379d6
Addresses https://github.com/erlang/rebar3/issues/1397
Ensures merged compiler options end up in the correct order to maintain profile precedence.
Moves the merge functionality from rebar_opts:merge_opts/2 to a standalone function to ease extension and debugging.
il y a 8 ans
Fred Hebert
5f0658d8ac
Merge branch 'artempervin-master'
il y a 8 ans
Fred Hebert
2c155ead23
Fully clean up after test utils for proxy
il y a 8 ans
Artem Pervin
8df95d53bf
1394: fixed typo
il y a 8 ans
Artem Pervin
9ace3ba9fc
1394: fixed typo
il y a 8 ans
Artem Pervin
603683bca1
1394: restore original proxy spec after tests
il y a 8 ans
Artem Pervin
c0184eae70
1394: refined export list and tests
il y a 8 ans
Artem Pervin
e60562fb30
1394: one more test
il y a 8 ans
Artem Pervin
f8873147ab
1394: fixed typos
il y a 8 ans
Artem Pervin
8a546cae8e
1394: fixed typo
il y a 8 ans
Artem Pervin
ffc2cf98d3
1394: added fix for rebar_utils, moved setting of http_options into init_config, added unit tests
il y a 8 ans
Artem Pervin
72dcbe1c1b
1394: fixed handling of proxy username and password
il y a 8 ans
Fred Hebert
1766bc3078
Merge pull request #1393 from ferd/fix-linebreaks
Replace unprocessed ~n linebreaks
il y a 8 ans
Fred Hebert
f605b917b4
Replace unprocessed ~n linebreaks
Fixes #1392
il y a 8 ans
Fred Hebert
d833e6d6be
Merge pull request #1390 from lrascao/feature/bump_deps
Upgrade relx, erlware_commons and cf
il y a 8 ans
Luis Rascao
64eab7c57c
Upgrade relx, erlware_commons and cf
relx ~> 3.22.0
erlware_commons ~> 0.22.0
cf ~> 0.2.2
il y a 8 ans
Fred Hebert
252634d31e
Merge pull request #1382 from sirihansen/siri/recursive-opt
Add 'recursive' option
il y a 8 ans
Fred Hebert
ef61d013d1
Merge pull request #1385 from waisbrot/missing-package-error
Unify different styles of missing_package error
il y a 8 ans
Nathaniel Waisbrot
62e1aaf6f5
expect the `missing_package` error to have arity 2 or 3
il y a 8 ans
Fred Hebert
ae143b6714
Merge pull request #1388 from tsloughter/default_s3_region
use default region for s3 deployment
il y a 8 ans
Tristan Sloughter
8f72d534b0
use default region for s3 deployment
il y a 8 ans
Fred Hebert
2c31f94858
Merge pull request #1387 from ericmj/emj-rebar-config-env
Always read REBAR_CONFIG env var when loading config
il y a 8 ans
Eric Meadows-Jönsson
5323fdc377
Always read REBAR_CONFIG env var when loading config
il y a 8 ans
alisdair sullivan
5f6d1d88ac
Merge pull request #1374 from tsloughter/nightly
upload rebar3 escript for every merge to master to rebar3-nightly
il y a 8 ans
Tristan Sloughter
aa0c80d62f
upload rebar3 escript for every merge to master to rebar3-nightly
il y a 8 ans
Siri Hansen
44fabbbf91
Add 'recursive' option
The option {recursive,boolean()} can now be set pr directory in
'src_dirs' and 'extra_src_dirs', and on top level in the new
'erlc_compiler' option. Example config:
{erlc_compiler,[{recursive,false}]}.
{src_dirs,[{"src",[{recursive,true}]}]}.
This will cause recursive compilation within the "src" directory, but
not in any other directoires.
il y a 8 ans
Fred Hebert
17e2356038
Merge pull request #1380 from ferd/fix-self-edoc
Allow rebar3 to edoc itself
il y a 8 ans
Fred Hebert
8c4da25be0
Merge pull request #1381 from ferd/fix-dialyzer-warnings
Fix rebar3 dialyzer warnings
il y a 8 ans
Fred Hebert
e85cf555e2
Fix rebar3 dialyzer warnings
Some tricky changes in there but should be okay
il y a 8 ans
Fred Hebert
e08145b498
Allow rebar3 to edoc itself
il y a 8 ans
alisdair sullivan
ca0995b73b
Merge pull request #1370 from fishcakez/dialyzer-exclude_mods
Add exclude_apps/mods, plt_extra_mods, base_plt_mods config
il y a 8 ans
Tristan Sloughter
5335e57498
Merge pull request #1371 from psyeugenic/egil/fix-usage-typo
Fix usage decription of 'rebar3'
il y a 8 ans
Björn-Egil Dahlberg
9584453194
Fix usage decription of 'rebar3'
il y a 8 ans
James Fish
bcfd8d6f80
Add exclude_apps/mods, plt_extra_mods, base_plt_mods config
* exclude_apps - never use applications for PLT/analysis
* base_plt_mods - add modules to base PLT (overrules exclude_apps)
* plt_extra_mods - add modules to PLT (overrules exclude_apps)
* exclude_mods - never use modules for PLT/analysis (overrules all)
il y a 8 ans
Fred Hebert
7f8e1c8294
Merge pull request #1357 from erlang/ct_spec
experimental: allow test specifications to be passed via the command line
il y a 8 ans
alisdair sullivan
14956eaf16
fix "helpful" compiler spelling correction
il y a 8 ans
alisdair sullivan
203e5c15bd
allow test specifications to be passed via the command line
`rebar3 ct --spec foo.spec,bar.spec,baz.spec` now works
also added support for the `join_specs` flag on the command line
il y a 8 ans
alisdair sullivan
4e7b765645
Merge pull request #1356 from ferd/prevent-as-crash-on-missing-tasks
Prevent crashes in `rebar3 as` with no tasks
il y a 8 ans
Fred Hebert
504431473b
Prevent crashes in `rebar3 as` with no tasks
checks on hd(...) and so on could not handle empty lists
il y a 8 ans
Fred Hebert
94f87477d5
Return to git-based vsn
il y a 8 ans
Fred Hebert
f0d1a8404c
Bump version to 3.3.2
il y a 8 ans
Fred Hebert
246a1f7e5b
Merge pull request #1353 from tsloughter/relx_3.21.1
upgrade relx to 3.21.1
il y a 8 ans