Tristan Sloughter
a917dc14df
restructure escriptize provider so the error is properly returned
há 10 anos
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.
há 10 anos
Tristan Sloughter
2e5b6fe559
remove use of lists:droplast, it doesn't exist pre-17
há 10 anos
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
há 10 anos
Tristan Sloughter
3126e7eb55
update project_apps and state before running post hooks
há 10 anos
Tristan Sloughter
5f89e9c28d
fix erlydtl error return and dir to run from
há 10 anos
Tristan Sloughter
f82874de58
include applications list in compile sort
há 10 anos
Fred Hebert
38191c369a
Bump to alpha-4
há 10 anos
Fred Hebert
8f1bfcb596
Rename wtf->report, add all dep versions
há 10 anos
James Fish
09611f7563
Improve error handling in ct provider
há 10 anos
Tristan Sloughter
4fb9207d9a
fix bug on foundapp could have bad match
há 10 anos
Tristan Sloughter
d317869a3e
clean ups from Fred's comments
há 10 anos
Tristan Sloughter
ef22eeb387
error on dep name that isn't an atom
há 10 anos
Tristan Sloughter
4ee7fef913
store registry fetched from disk in state
há 10 anos
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
há 10 anos
Tristan Sloughter
4e663aa799
Warn on bad use of include_lib but try to find the header anyway
há 10 anos
Tristan Sloughter
41b95eb295
add test for single atom pkg dep picking the highest available
há 10 anos
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
há 10 anos
Tristan Sloughter
a447067888
rm old beams, make erlcinfo graph per app isntad of global to project
há 10 anos
Tristan Sloughter
7cddb2a685
pass objectfile name to opts_changed instead of recalculating
há 10 anos
Tristan Sloughter
88150bbe9e
remove comment that doesn't apply to rebar3
há 10 anos
Tristan Sloughter
aaf0b5c00a
properly compare list of opts and not against undefined
há 10 anos
Tristan Sloughter
39a4ca0c04
remove unneeded string:tokens for target_base
há 10 anos
Tristan Sloughter
ae9b8ea349
fix process attr for include_lib that is just a filename
há 10 anos
Tristan Sloughter
23fa5c659b
breakout needs compile check from compile_xrl_yrl
há 10 anos
Tristan Sloughter
0648c6bc87
merge rebar2's Refactor logic and optimizations in rebar_erlc_compiler:doterl_compile/4 #467
há 10 anos
Fred Hebert
15a7ccfaab
Bump to alpha-3
há 10 anos
Tristan Sloughter
f18e84ce2b
only install dep plugins from install_deps
há 10 anos
Tristan Sloughter
743b24883d
removing installing of global plugins
há 10 anos
Tristan Sloughter
79e2d6006c
install each deps plugins after handling dep, instead of at the end
há 10 anos
Tristan Sloughter
019152e1d5
fix eunit comment
há 10 anos
Tristan Sloughter
3dd9d02a0e
add rebar_state:resources type specs
há 10 anos
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
há 10 anos
Tristan Sloughter
40d3781104
swich clean and compile to use macro provider in hook run
há 10 anos
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
há 10 anos
Tristan Sloughter
257e7fb667
remove old apply_hooks. now provider hooks are explicitly run
há 10 anos
Tristan Sloughter
38de29ae42
move resource modules list to rebar_state, no longer static
há 10 anos
Tristan Sloughter
459ff732a3
install dep plugins & run provider hooks the same as shell hooks
há 10 anos
Fred Hebert
60f7474632
Support namespaces in help search
há 10 anos
Fred Hebert
043a2f5453
Provide descriptions for all tasks
há 10 anos
alisdair sullivan
471b35085b
add default test paths in the `shell` and `cover` providers
há 10 anos
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
há 10 anos
Tristan Sloughter
9eca4b50c5
main module of a plugin just has to export init/1
há 10 anos
Fred Hebert
ebfdede885
Support namespace resolution in 'do' provider
há 10 anos
Tristan Sloughter
9f835553f0
fix clean all to use proper deps dir
há 10 anos
Tristan Sloughter
bff483a570
add exports used by plugins to rebar_api
há 10 anos
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
há 10 anos
Tristan Sloughter
ef60d3b51f
re-export functions only used within rebar_utils that are also needed by plugins
há 10 anos
alisdair sullivan
df4673d378
attempt to load paths to test modules in cover modules to
generate line by line coverage reports
há 10 anos
Fred Hebert
d191edddb4
Polish rough edges of 'new' provider
- Allow 'rebar3 help' to work and have it point to 'rebar3 help
<template>'
- show a 'template not found' message when a template is indeed not
found rather than crashing.
há 10 anos