Tristan Sloughter
7cddb2a685
pass objectfile name to opts_changed instead of recalculating
10 år sedan
Tristan Sloughter
88150bbe9e
remove comment that doesn't apply to rebar3
10 år sedan
Tristan Sloughter
aaf0b5c00a
properly compare list of opts and not against undefined
10 år sedan
Tristan Sloughter
39a4ca0c04
remove unneeded string:tokens for target_base
10 år sedan
Tristan Sloughter
ae9b8ea349
fix process attr for include_lib that is just a filename
10 år sedan
Tristan Sloughter
23fa5c659b
breakout needs compile check from compile_xrl_yrl
10 år sedan
Tristan Sloughter
0648c6bc87
merge rebar2's Refactor logic and optimizations in rebar_erlc_compiler:doterl_compile/4 #467
10 år sedan
Fred Hebert
15a7ccfaab
Bump to alpha-3
10 år sedan
Tristan Sloughter
f18e84ce2b
only install dep plugins from install_deps
10 år sedan
Tristan Sloughter
743b24883d
removing installing of global plugins
10 år sedan
Tristan Sloughter
79e2d6006c
install each deps plugins after handling dep, instead of at the end
10 år sedan
Tristan Sloughter
019152e1d5
fix eunit comment
10 år sedan
Tristan Sloughter
3dd9d02a0e
add rebar_state:resources type specs
10 år sedan
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
10 år sedan
Tristan Sloughter
40d3781104
swich clean and compile to use macro provider in hook run
10 år sedan
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
10 år sedan
Tristan Sloughter
257e7fb667
remove old apply_hooks. now provider hooks are explicitly run
10 år sedan
Tristan Sloughter
38de29ae42
move resource modules list to rebar_state, no longer static
10 år sedan
Tristan Sloughter
459ff732a3
install dep plugins & run provider hooks the same as shell hooks
10 år sedan
Fred Hebert
60f7474632
Support namespaces in help search
10 år sedan
Fred Hebert
043a2f5453
Provide descriptions for all tasks
10 år sedan
alisdair sullivan
471b35085b
add default test paths in the `shell` and `cover` providers
10 år sedan
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 år sedan
Tristan Sloughter
9eca4b50c5
main module of a plugin just has to export init/1
10 år sedan
Fred Hebert
ebfdede885
Support namespace resolution in 'do' provider
10 år sedan
Tristan Sloughter
9f835553f0
fix clean all to use proper deps dir
10 år sedan
Tristan Sloughter
bff483a570
add exports used by plugins to rebar_api
10 år sedan
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
10 år sedan
Tristan Sloughter
ef60d3b51f
re-export functions only used within rebar_utils that are also needed by plugins
10 år sedan
alisdair sullivan
df4673d378
attempt to load paths to test modules in cover modules to
generate line by line coverage reports
10 år sedan
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.
10 år sedan
alisdair sullivan
945543da19
execute `cover` task as `test` profile and write generated data
to the appropriate `_build` dir
10 år sedan
Fred Hebert
61455c04d0
Bump to alpha-2
10 år sedan
alisdair sullivan
efb859f15a
split function setting test set for clarity
10 år sedan
alisdair sullivan
044b6580e7
filter checkapps via `rebar_app_info:is_checkout` rather than
matching directory paths
10 år sedan
alisdair sullivan
c5bc19b021
add `--app=...` and `--suite=...` options for the eunit provider to
run subsets of test suites
10 år sedan
Fred Hebert
db02ecb36f
Fix property merging
Much clearer semantics now. All lists are treated as proplists, meaning
we want to:
1) allow duplicates (providers have to avoid them if they must)
2) preserve order of elements that compare equal (`a == {a, val}`)
through a stable sort (so if `{a, b}` comes before `a`, we keep
`{a, b}` first in the list
3) In two lists of attributes requiring a merge, we always give the
'new' profile a priority to override the default one.
10 år sedan
Fred Hebert
f97d5ab19d
Bump to alpha-1
10 år sedan
alisdair sullivan
5a42523cd5
handle additional errors returned from `getopt:parse/2`
10 år sedan
Tristan Sloughter
8e1bb66368
support args on tasks passed to 'as'
10 år sedan
Fred Hebert
3e7a58ccd6
Reverse relx args order for config
With the new priority order, and knowing Relx processes things in
reverse already (possibly building a dict internally), we should flip
our options around to keep them correct.
10 år sedan
Fred Hebert
2d430bf3e2
Preserve profile order on mergeable tuple/opts
Rather than using the stdlib lists:umerge, we expand it to allow fuzzy
matching on tuples vs. vals (`key` vs. `{key,val}`) with an overriden
sort order so that two tuples or values comparing equal get a priority
on the newest profile.
This is a partial fix for #287 -- this current patch should be followed
by a relx update to take options in order (as if they were a proplist)
to complete it.
10 år sedan
Tristan Sloughter
5e58823fd6
treat _checkouts as deps that are always compiled
10 år sedan
James Fish
447fb1a02e
Fix dialyzer warnings
10 år sedan
Tristan Sloughter
e4bf78a96a
update hg username and email match in templates
10 år sedan
Tristan Sloughter
b4986925e8
include all pkg deps in list of deps returned from update
10 år sedan
Tristan Sloughter
ae004ad234
flatten command to open_port so <17 Erlangs are happy
10 år sedan
Tristan Sloughter
cfd10b82f1
add back throw on package index write
10 år sedan
Tristan Sloughter
80e9aae16c
handle bad package version with error message
10 år sedan
Tilman Holschuh
af5ba45f27
Decapitalize short option for 'version'
10 år sedan