Fred Hebert
d95da874cd
Merge pull request #305 from talentdeficit/better_ct
modify `ct` provider to copy selected directories and compile them
il y a 10 ans
alisdair sullivan
471b35085b
add default test paths in the `shell` and `cover` providers
il y a 10 ans
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
il y a 10 ans
Fred Hebert
9c234dddeb
Merge pull request #312 from tsloughter/zsh_list_deps
update the dir used for upgrade deps to the new path under _build
il y a 10 ans
Tristan Sloughter
3b56f3cc43
update the dir used for upgrade deps to the new path under _build
il y a 10 ans
Fred Hebert
9753617471
Merge pull request #304 from ingwinlu/fix_shell_completions
impl shell completion
il y a 10 ans
Fred Hebert
f51ac0ba8e
Merge pull request #311 from tsloughter/plugins_init
main module of a plugin just has to export init/1
il y a 10 ans
derwinlu
0ceb3bd6ce
implement zsh completion
il y a 10 ans
Tristan Sloughter
9eca4b50c5
main module of a plugin just has to export init/1
il y a 10 ans
Fred Hebert
7df2ef4c84
Merge pull request #310 from ferd/do-namespaces
Support namespace resolution in 'do' provider
il y a 10 ans
Fred Hebert
6fe3c02de8
Merge pull request #298 from talentdeficit/cover_paths
cover enhancements
il y a 10 ans
Tristan Sloughter
9a985df6e4
Merge pull request #308 from ferd/consistent-doc
Fixes #306 : help text consistency
il y a 10 ans
Fred Hebert
ebfdede885
Support namespace resolution in 'do' provider
il y a 10 ans
Fred Hebert
ae7c039336
Merge pull request #309 from tsloughter/clean_fix
fix clean all to use proper deps dir
il y a 10 ans
Tristan Sloughter
9f835553f0
fix clean all to use proper deps dir
il y a 10 ans
Fred Hebert
74854c88fc
Merge pull request #302 from tsloughter/master
re-export functions only used within rebar_utils that are also needed by...
il y a 10 ans
Tristan Sloughter
bff483a570
add exports used by plugins to rebar_api
il y a 10 ans
Fred Hebert
a3274e1bc8
Fixes #306 : help text consistency
il y a 10 ans
Tristan Sloughter
ef60d3b51f
re-export functions only used within rebar_utils that are also needed by plugins
il y a 10 ans
derwinlu
61c4d75098
implement bash autocompletion
il y a 10 ans
Tristan Sloughter
d1cdbae0fb
Merge pull request #303 from ingwinlu/fix_readme_building_rebar
fix congratulation message in README.md
il y a 10 ans
derwinlu
a11b690a22
fix congratulation message in README.md
il y a 10 ans
Fred Hebert
9311d9087c
Merge pull request #283 from fishcakez/dial_warns
Fix some dialyzer warnings
il y a 10 ans
alisdair sullivan
df4673d378
attempt to load paths to test modules in cover modules to
generate line by line coverage reports
il y a 10 ans
Tristan Sloughter
646e1075c6
Merge pull request #297 from ferd/better-template-UI
Polish rough edges of 'new' provider
il y a 10 ans
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.
il y a 10 ans
alisdair sullivan
945543da19
execute `cover` task as `test` profile and write generated data
to the appropriate `_build` dir
il y a 10 ans
Fred Hebert
61455c04d0
Bump to alpha-2
il y a 10 ans
Fred Hebert
ab53164afb
Merge pull request #296 from talentdeficit/eunit_test_suite
eunit refactor and test suite
il y a 10 ans
alisdair sullivan
efb859f15a
split function setting test set for clarity
il y a 10 ans
alisdair sullivan
044b6580e7
filter checkapps via `rebar_app_info:is_checkout` rather than
matching directory paths
il y a 10 ans
alisdair sullivan
c5bc19b021
add `--app=...` and `--suite=...` options for the eunit provider to
run subsets of test suites
il y a 10 ans
alisdair sullivan
069ed62690
add a more direct way to generate an `eunitized` test app to
test utils and add better eunit tests
il y a 10 ans
Fred Hebert
deebd23a88
Merge pull request #295 from ferd/remerge-refix
Fix property merging
il y a 10 ans
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.
il y a 10 ans
Fred Hebert
14e5d5d3fc
Merge branch 'eunit-with-test-profile-test-case' of https://github.com/kellymclaughlin/rebar3 into kellymclaughlin-eunit-with-test-profile-test-case
il y a 10 ans
Kelly McLaughlin
c9087935ce
Add test case to eunit test suite
Add test case to exercise the eunit provider using the test profile
il y a 10 ans
Fred Hebert
f97d5ab19d
Bump to alpha-1
il y a 10 ans
Fred Hebert
4821b92323
Merge pull request #286 from tsloughter/checkouts
treat _checkouts as deps that are always compiled
il y a 10 ans
Fred Hebert
63fb911303
Merge pull request #292 from talentdeficit/get_opt_fix
handle additional errors returned from `getopt:parse/2`
il y a 10 ans
alisdair sullivan
5a42523cd5
handle additional errors returned from `getopt:parse/2`
il y a 10 ans
Fred Hebert
549c63b75d
Merge pull request #291 from tsloughter/as_args
support args on tasks passed to 'as'
il y a 10 ans
Tristan Sloughter
8e1bb66368
support args on tasks passed to 'as'
il y a 10 ans
Fred Hebert
75549d3a91
Merge pull request #290 from ferd/fancy-profile-merge-fun
Fancy profile merge fun
il y a 10 ans
Fred Hebert
48aa18be4f
Merge branch 'kellymclaughlin-dev-mode-release-tests' into fancy-profile-merge-fun
il y a 10 ans
Kelly McLaughlin
81969f1cf6
Test cases to exercise the dev_mode release option
Add one test case to verify the dev_mode option for a release and
another to verify overriding the dev_mode option in a profile for a
release. Verification of proper dev_mode functioning is done in the
rebar_test_utils:check_results/2 function by checking if all the
directories in the release lib dir are symlinks or not and comparing
that result to the dev_mode expectation passed as input to
the check_results function.
il y a 10 ans
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.
il y a 10 ans
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.
il y a 10 ans
Tristan Sloughter
5e58823fd6
treat _checkouts as deps that are always compiled
il y a 10 ans
James Fish
447fb1a02e
Fix dialyzer warnings
il y a 10 ans