Tristan Sloughter
b8c1cb2bf0
fix erl_first_files to check entire path of file
10 years ago
Tristan Sloughter
9e59abacf3
run project wide pre-compile hooks after deps have compiled
10 years ago
Tristan Sloughter
8ed91ab761
improve erlydtl source and out dir discovery
10 years ago
Tristan Sloughter
2667dbdd0b
don't duplicate hooks for top level app
10 years ago
Viacheslav V. Kovalev
cb14a33fdd
Do not duplicate profile when applying.
10 years ago
Tristan Sloughter
cce1ad00ba
ignore optional deps for now
10 years ago
Tristan Sloughter
c151f4e688
add to end of code path not the beginning in handle_deps
10 years ago
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 years ago
Tristan Sloughter
400853033e
replcae ensure_started bc it doens't exist in R15, with load
10 years ago
Tristan Sloughter
a917dc14df
restructure escriptize provider so the error is properly returned
10 years ago
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 years ago
Tristan Sloughter
2e5b6fe559
remove use of lists:droplast, it doesn't exist pre-17
10 years ago
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
10 years ago
Tristan Sloughter
3126e7eb55
update project_apps and state before running post hooks
10 years ago
Tristan Sloughter
5f89e9c28d
fix erlydtl error return and dir to run from
10 years ago
Tristan Sloughter
f82874de58
include applications list in compile sort
10 years ago
Fred Hebert
38191c369a
Bump to alpha-4
10 years ago
Fred Hebert
8f1bfcb596
Rename wtf->report, add all dep versions
10 years ago
James Fish
09611f7563
Improve error handling in ct provider
10 years ago
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
10 years ago
Tristan Sloughter
d317869a3e
clean ups from Fred's comments
10 years ago
Tristan Sloughter
ef22eeb387
error on dep name that isn't an atom
10 years ago
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
10 years ago
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
10 years ago
Tristan Sloughter
4e663aa799
Warn on bad use of include_lib but try to find the header anyway
10 years ago
Tristan Sloughter
41b95eb295
add test for single atom pkg dep picking the highest available
10 years ago
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
10 years ago
Tristan Sloughter
a447067888
rm old beams, make erlcinfo graph per app isntad of global to project
10 years ago
Tristan Sloughter
7cddb2a685
pass objectfile name to opts_changed instead of recalculating
10 years ago
Tristan Sloughter
88150bbe9e
remove comment that doesn't apply to rebar3
10 years ago
Tristan Sloughter
aaf0b5c00a
properly compare list of opts and not against undefined
10 years ago
Tristan Sloughter
39a4ca0c04
remove unneeded string:tokens for target_base
10 years ago
Tristan Sloughter
ae9b8ea349
fix process attr for include_lib that is just a filename
10 years ago
Tristan Sloughter
23fa5c659b
breakout needs compile check from compile_xrl_yrl
10 years ago
Tristan Sloughter
0648c6bc87
merge rebar2's Refactor logic and optimizations in rebar_erlc_compiler:doterl_compile/4 #467
10 years ago
Fred Hebert
15a7ccfaab
Bump to alpha-3
10 years ago
Tristan Sloughter
f18e84ce2b
only install dep plugins from install_deps
10 years ago
Tristan Sloughter
743b24883d
removing installing of global plugins
10 years ago
Tristan Sloughter
79e2d6006c
install each deps plugins after handling dep, instead of at the end
10 years ago
Tristan Sloughter
019152e1d5
fix eunit comment
10 years ago
Tristan Sloughter
3dd9d02a0e
add rebar_state:resources type specs
10 years ago
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
10 years ago
Tristan Sloughter
40d3781104
swich clean and compile to use macro provider in hook run
10 years ago
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
10 years ago
Tristan Sloughter
257e7fb667
remove old apply_hooks. now provider hooks are explicitly run
10 years ago
Tristan Sloughter
38de29ae42
move resource modules list to rebar_state, no longer static
10 years ago
Tristan Sloughter
459ff732a3
install dep plugins & run provider hooks the same as shell hooks
10 years ago
Fred Hebert
60f7474632
Support namespaces in help search
10 years ago
Fred Hebert
043a2f5453
Provide descriptions for all tasks
10 years ago
alisdair sullivan
471b35085b
add default test paths in the `shell` and `cover` providers
10 years ago