alisdair sullivan
12726111bc
`add_to_profile/3` function added to `rebar_state`
10 anni fa
Tristan Sloughter
80f276e5e5
don't replace non-string list with empty list in profile merge
10 anni fa
Tristan Sloughter
af0f4bb20a
include test dir in symlinks
10 anni fa
Tristan Sloughter
0a8ee68042
fix compile/3 call in common_test provider
10 anni fa
Tristan Sloughter
75f8a772b0
copy all files from ebin to build output ebin if exists
10 anni fa
Tristan Sloughter
9fc885073b
use same symlink or copy function for deps links
10 anni fa
Tristan Sloughter
440f0d7524
update compile call from common test provider with new outdir
10 anni fa
Tristan Sloughter
675044bc83
use relative path on non-windows and copy if link fails
10 anni fa
Tristan Sloughter
65204ba0ba
include link to src in outdir for R15 cover/xref
10 anni fa
Tristan Sloughter
a238bc24c6
output proper error message for missing app file
10 anni fa
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 anni fa
Tristan Sloughter
d4c2332aab
make base_dir for a run include the profiles in path, link to shared deps
10 anni fa
alisdair sullivan
05c9bf6bbb
reset state between tasks run with `do` so `rebar do foo, bar, baz`
has the same outcome as `rebar3 foo && rebar3 bar && rebar3 baz`
fixes #191
10 anni fa
Tristan Sloughter
4eaeca8890
add edoc provider
10 anni fa
Fred Hebert
a8ceafbf4c
Port env var expension fix from rebar2
See https://github.com/rebar/rebar/pull/458
10 anni fa
Tristan Sloughter
dcd8962afb
remove old info function from install_deps, it is a bare provider
10 anni fa
Fred Hebert
e8b2c274e9
Fix crash on non-git source deps in deps provider
The 'element(1, ..)' guard would always fail and cause crashes.
10 anni fa
Fred Hebert
6fa030d94c
Support mercurial (hg) dependencies
10 anni fa
Tristan Sloughter
235436a410
profiles: combine lists of values for conflicting config options
10 anni fa
Fred Hebert
1a132f6c36
We can use 3.0.0 when we're done.
10 anni fa
Fred Hebert
6ccef53891
Revert accidental commited debug code
10 anni fa
Fred Hebert
c283dd2c69
Add tests and fixes for packages upgrades
- Track level of packages properly, they're not level 0 anymore (this
could yield an issue where a src dep takes precedence over a pkg dep)
- Proper stable sort of vertices in the digraph module
- PkgDeps no longer 'see themselves' when fetching and upgrading after
locking themselves
- Pkg Locks are added to pkg deps rather than source deps
- Updating test cases to support pkg mocking on top of src mocking
10 anni fa
Fred Hebert
249be4985c
Reuse test code and drop duplicated stuff
10 anni fa
Fred Hebert
d6dc56da03
Fix lock merging for nonexistant lock files.
10 anni fa
Tristan Sloughter
0c402a8293
output hook stdout and don't add extra newline
10 anni fa
alisdair sullivan
521a49dd26
don't unescessarily recompile yrl/xrl files
fixes #175
10 anni fa
alisdair sullivan
04235f1a63
don't attempt to merge locks when there are no dependencies
fixes #172
10 anni fa
Tristan Sloughter
c3e2ab1c1e
remove unneeded get_modules_list function
10 anni fa
Tristan Sloughter
8f03afded4
consolidate app validation and exist checks
10 anni fa
Tristan Sloughter
633dafafc3
release and tar tests
10 anni fa
Fred Hebert
81f47c44ec
Reindent multiline assignment
10 anni fa
Fred Hebert
d4d4e27693
Pass in newer state reference
Old one might have been a mistake; this one works fine.
10 anni fa
Fred Hebert
1c638b05fa
Refactor install deps
- Make functions shorter
- Unnest some functions
- Split up and give names to major conditional branches
10 anni fa
Tristan Sloughter
62ff6718fd
update project app list with new appinfo records after build
10 anni fa
Tristan Sloughter
e73ed97cfd
follow xdg standard. fixes #122
10 anni fa
Tristan Sloughter
02e33a265b
check for newly added deps in config file that aren't level 0 in the lock
10 anni fa
Tristan Sloughter
8874e414a8
sort project apps before merging deps
10 anni fa
alisdair sullivan
a14f750131
fix error where an exception in ct could hang rebar by monitoring
the process where ct is performed
10 anni fa
Tristan Sloughter
be49c5cd44
use project sub-apps with deps in their rebar.config
10 anni fa
alisdair sullivan
ffbb31e660
purge mods loaded during check to see if they need to be recompiled
during compile task before running subsequent tasks
10 anni fa
alisdair sullivan
e6be44667d
suppress common_test output unless `rebar3 ct` is run with verbose switch
10 anni fa
Tristan Sloughter
501b9b42df
print error message suggesting to run rebar3 update if missing package index
10 anni fa
Tristan Sloughter
9fbfeaa74d
parse version constraints in hex registry for digraph
10 anni fa
Tristan Sloughter
410e2bcdec
replace package management with hex.pm
10 anni fa
Tristan Sloughter
b654272063
remove unused functions from app utils
10 anni fa
alisdair sullivan
7fa628d615
check already compiled modules compile arguments against current compile
arguments to ensure compile results as as intended
10 anni fa
Fred Hebert
53a05890ab
Initial `deps` command
10 anni fa
James Fish
e2d3c27b80
Remove extra default warnings
It is not convenient for everyone to handle unmatched_returns and
underspecs warnings. Extra default warnings are removed to match
dialyzer's behaviour.
10 anni fa
Tristan Sloughter
9f2133df47
needs_update: on ref defined deps only have to match prefix if 7+ chars
10 anni fa
James Fish
4b8e9db4ca
Fix dialyzer when only updating plt
Previously dialyzer would crash when not doing success typing analysis.
10 anni fa