Viacheslav Kovalev
e255529da5
Get rid of rebar_utils:tup_umerge/2 patching
пре 10 година
Viacheslav Kovalev
82b0d4b7b2
Implement opts umerge deduplication
пре 10 година
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
пре 10 година
Viacheslav V. Kovalev
381c6f4779
Correctly deduplicate profiles when applying
Conflicts:
src/rebar_state.erl
пре 10 година
Tristan Sloughter
b8c1cb2bf0
fix erl_first_files to check entire path of file
пре 10 година
Tristan Sloughter
9e59abacf3
run project wide pre-compile hooks after deps have compiled
пре 10 година
Tristan Sloughter
8ed91ab761
improve erlydtl source and out dir discovery
пре 10 година
Tristan Sloughter
2667dbdd0b
don't duplicate hooks for top level app
пре 10 година
Viacheslav V. Kovalev
cb14a33fdd
Do not duplicate profile when applying.
пре 10 година
Tristan Sloughter
cce1ad00ba
ignore optional deps for now
пре 10 година
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
пре 10 година
Fred Hebert
326f840123
Add support for an unlock command
Allows to remove entries from the lock file, or the lock file as a
whole.
пре 10 година
Tristan Sloughter
400853033e
replcae ensure_started bc it doens't exist in R15, with load
пре 10 година
Tristan Sloughter
a917dc14df
restructure escriptize provider so the error is properly returned
пре 10 година
Fred Hebert
2ff4ac6d50
Default deps always to the default profile
When fetching dependencies for the first time using a profile (`rebar3
as prod release` or `rebar3 ct`), the dependencies get fetched into the
non-default profile. This has two consequences:
- the files get re-downloaded on follow-up runs
- the lock file includes incomplete or too many deps in its list
This patch forces dependencies in the default profile to be stored in
_build/default/lib even when running under other profiles, then symlinks
them to the correct one.
This makes it so common dependencies in 'default' be downloaded there
and avoids re-downloading them. Should also fix the lock issues.
пре 10 година
Tristan Sloughter
2e5b6fe559
remove use of lists:droplast, it doesn't exist pre-17
пре 10 година
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
пре 10 година
Tristan Sloughter
3126e7eb55
update project_apps and state before running post hooks
пре 10 година
Tristan Sloughter
5f89e9c28d
fix erlydtl error return and dir to run from
пре 10 година
Tristan Sloughter
f82874de58
include applications list in compile sort
пре 10 година
Fred Hebert
38191c369a
Bump to alpha-4
пре 10 година
Fred Hebert
8f1bfcb596
Rename wtf->report, add all dep versions
пре 10 година
James Fish
09611f7563
Improve error handling in ct provider
пре 10 година
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
пре 10 година
Tristan Sloughter
d317869a3e
clean ups from Fred's comments
пре 10 година
Tristan Sloughter
ef22eeb387
error on dep name that isn't an atom
пре 10 година
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
пре 10 година
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
пре 10 година
Tristan Sloughter
4e663aa799
Warn on bad use of include_lib but try to find the header anyway
пре 10 година
Tristan Sloughter
41b95eb295
add test for single atom pkg dep picking the highest available
пре 10 година
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
пре 10 година
Tristan Sloughter
a447067888
rm old beams, make erlcinfo graph per app isntad of global to project
пре 10 година
Tristan Sloughter
7cddb2a685
pass objectfile name to opts_changed instead of recalculating
пре 10 година
Tristan Sloughter
88150bbe9e
remove comment that doesn't apply to rebar3
пре 10 година
Tristan Sloughter
aaf0b5c00a
properly compare list of opts and not against undefined
пре 10 година
Tristan Sloughter
39a4ca0c04
remove unneeded string:tokens for target_base
пре 10 година
Tristan Sloughter
ae9b8ea349
fix process attr for include_lib that is just a filename
пре 10 година
Tristan Sloughter
23fa5c659b
breakout needs compile check from compile_xrl_yrl
пре 10 година
Tristan Sloughter
0648c6bc87
merge rebar2's Refactor logic and optimizations in rebar_erlc_compiler:doterl_compile/4 #467
пре 10 година
Fred Hebert
15a7ccfaab
Bump to alpha-3
пре 10 година
Tristan Sloughter
f18e84ce2b
only install dep plugins from install_deps
пре 10 година
Tristan Sloughter
743b24883d
removing installing of global plugins
пре 10 година
Tristan Sloughter
79e2d6006c
install each deps plugins after handling dep, instead of at the end
пре 10 година
Tristan Sloughter
019152e1d5
fix eunit comment
пре 10 година
Tristan Sloughter
3dd9d02a0e
add rebar_state:resources type specs
пре 10 година
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
пре 10 година
Tristan Sloughter
40d3781104
swich clean and compile to use macro provider in hook run
пре 10 година
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
пре 10 година
Tristan Sloughter
257e7fb667
remove old apply_hooks. now provider hooks are explicitly run
пре 10 година
Tristan Sloughter
38de29ae42
move resource modules list to rebar_state, no longer static
пре 10 година