Tristan Sloughter
fe4a10141b
do provider returns the error of the first provider to fail and stops
10 роки тому
Tristan Sloughter
f45387f795
no skip warning for seen dep that has locked version
10 роки тому
alisdair sullivan
00e03d70ef
use new `rebar_file_utils` functions in `eunit` and `ct` providers
10 роки тому
alisdair sullivan
0b21243eae
add functions `system_tmpdir/0,1` and `reset_dir/1`
(in `rebar_file_utils`)
10 роки тому
alisdair sullivan
10298a21b6
change more instances of mistyped `erl_first_modules` to
`erl_first_files`
fixes #99
10 роки тому
Tristan Sloughter
c298a713f0
don't mark dep as seen before calling handle_dep
10 роки тому
Tristan Sloughter
407362c074
replace single profile atom in providers with list of profiles
10 роки тому
alisdair sullivan
5e270a7456
when compiling `common_test` or `eunit` use the same tmp dir
from run to run
10 роки тому
alisdair sullivan
6029fca8ca
change `rebar_app_into` to `rebar_app_info` in typespecs
10 роки тому
alisdair sullivan
16c31097c2
add support for a bare `test` directory when using `apps` libdirs
10 роки тому
alisdair sullivan
853efc5077
exclude `_checkouts` from directories to be precompiled for
`common_test` and `eunit` providers
10 роки тому
alisdair sullivan
99732ae4f3
adjust handling of `common_test` `dir` option and refactor provider
option handling
10 роки тому
alisdair sullivan
fc2cd73955
add `eunit` and `common_test` to `applications` key of `rebar.app`
10 роки тому
alisdair sullivan
f4dafa4628
switch to `lists:ukeymerge` to merge `ct` opts for better behavior
in presence of keys defined multiple times
10 роки тому
alisdair sullivan
e5270da3d7
preserve rebar path when running `ct` and `eunit` tests
10 роки тому
Tristan Sloughter
f1ed8ed36c
do not include dir . in relx lib paths it will break lib discovery
10 роки тому
alisdair sullivan
84dc8c9357
reworked ct provider
compiles common test files in a temporary dir (or a user specified
dir) and runs tests without leaving artifacts in the source tree
precompile tests using `rebar.config` and disable autocompile so
project specific options are used
fixes #62
10 роки тому
alisdair sullivan
eb34901ab7
reworked eunit provider
compiles apps and eunit test files in a temporary dir (or a user
specified dir) and runs tests without leaving artifacts in the
source tree
automatically defines the 'TEST' macro if not already defined and
adds `test` to `src_dirs` to allow for eunit test files outside `src`
10 роки тому
Tristan Sloughter
37a2025906
don't allow locked transitive dep to override higher level dep
10 роки тому
Tristan Sloughter
872e741972
use level in lock file so changes to config don't change outcome of run
10 роки тому
alisdair sullivan
5885332e27
point compiler to the right config value for which files need to be
compiled first
10 роки тому
Tristan Sloughter
8168c1f4f9
overrides working with lock except in case of adding to config after lock
10 роки тому
Tristan Sloughter
d1692efdf5
overrides working except for transitive dep inheritance with lock file
10 роки тому
alisdair sullivan
5f0b86e36c
remove no longer relevant test machinery in rebar_erlc_compiler
10 роки тому
Tristan Sloughter
91d297cf8a
update plugin install code
10 роки тому
Tristan Sloughter
b4c579b80d
include providers listed in plugins env
10 роки тому
Tristan Sloughter
56b36a37fc
include project app dirs in release lib_dirs to search
10 роки тому
Fred Hebert
d25838ff69
Add support for custom templates in subdirectories
- Includes tests for templates and their application
10 роки тому
Tristan Sloughter
9a8b1b3290
update erlydtl provider to use namespaces
10 роки тому
Fred Hebert
54a41ca6c4
Tests and fixes for namespaces
10 роки тому
Fred Hebert
73676c80b0
Fix up programmatic interface to rebar3
Now supports arbitrary commands
10 роки тому
Fred Hebert
676f2487ad
Dynamic 'do' provider for namespaces
Using a namespace such as 'rebar3 lfe new' will look for the 'new'
command in 'lfe' namespace without the need for a 'do' provider to be
registered in that namespace.
Manually checked that 'rebar3 as <profile> <namespace> command' works,
as well with 'default' and 'do'.
Test suite still needed.
10 роки тому
Fred Hebert
ae54d70e6c
Add support for namespace-based metacommands
And more general namespace support
10 роки тому
Fred Hebert
c25fbab1c6
Remove profile declarations
No longer needed.
10 роки тому
James Fish
fac7b627f5
Ensure dir for plt exists when copying
10 роки тому
Tristan Sloughter
31b886e65c
don't include all */ebin dirs in code path
10 роки тому
Tristan Sloughter
3998dfb049
update readme for 'as'
10 роки тому
Tristan Sloughter
789761e64d
add 'as' higher order task
10 роки тому
Tristan Sloughter
3219a666f4
rewrite profiles
10 роки тому
Fred Hebert
2985c7bed5
Adding pkg deps tests and refactorings
- Adding tests for package deps
- Adding conflict/override warnings for package deps
- Adding cycle detection for packages
- Adding cycle detection for mixed packages+source
- Fixing internal dependency format of package resources when converted
to rebar_app_info
- normalizing level-order prioritization to be based on lexicographical
sort of app names rather than traversal order (which is undefined for
package deps)
- Fixing tests for source deps for deep cycle detection
- Fixing bugs with source deps
- Relaxed version format checks for test utils
A lot of fixes are combined in there because I didn't want to commit
non-passing code, and many bugs were found when adding the second batch
of tests as part of the original effort.
10 роки тому
Fred Hebert
449d6baabc
Fix error message to point to rebar3
10 роки тому
Fred Hebert
4116d41dca
Print warning when deps are being skipped.
The case in mind here is due to conflicts, and tests have been added for
this.
10 роки тому
Tristan Sloughter
9f8e6ed024
use PRV_ERROR to wrap a provider error in {error, {?MODULE, ...}}
10 роки тому
Tristan Sloughter
bee15d62a0
version in source dep element is no longer used, support leaving it out
10 роки тому
Tristan Sloughter
b849b36b5e
only add lock if default profile
10 роки тому
Tristan Sloughter
f77cbb7f50
don't lose defualt deps when creating current profile
10 роки тому
Tristan Sloughter
50f384715b
in relx tar call only include deps dirs if they exist
10 роки тому
Tristan Sloughter
cf8d63d860
in relx call only include deps dirs if they exist
10 роки тому
Tristan Sloughter
63461b45b5
don't use lock file for non-defualt profile deps
10 роки тому
Tristan Sloughter
a390419247
don't store global state variables in opts dict
10 роки тому