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 年之前
Tristan Sloughter
459ff732a3
install dep plugins & run provider hooks the same as shell hooks
10 年之前
Fred Hebert
60f7474632
Support namespaces in help search
10 年之前
Fred Hebert
043a2f5453
Provide descriptions for all tasks
10 年之前
alisdair sullivan
471b35085b
add default test paths in the `shell` and `cover` providers
10 年之前
alisdair sullivan
b77d3e5083
modify `ct` provider to copy selected directories and compile them
alongside their source (ie, if `some_tests` is a directory that
contains test suites beams resulting from compiling them will be
placed in `some_tests` in the appropriate `_build` directory
10 年之前
Tristan Sloughter
9eca4b50c5
main module of a plugin just has to export init/1
10 年之前
Fred Hebert
ebfdede885
Support namespace resolution in 'do' provider
10 年之前
Tristan Sloughter
9f835553f0
fix clean all to use proper deps dir
10 年之前
Tristan Sloughter
bff483a570
add exports used by plugins to rebar_api
10 年之前
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
10 年之前
Tristan Sloughter
ef60d3b51f
re-export functions only used within rebar_utils that are also needed by plugins
10 年之前
alisdair sullivan
df4673d378
attempt to load paths to test modules in cover modules to
generate line by line coverage reports
10 年之前