Fred Hebert
731c3fd8a4
Minor template fixes
- The OTP app template now adds the supevisor
- The default apps_dir value does not contain the trailing '/' that the
template index already added.
il y a 10 ans
Tristan Sloughter
33e4b7e017
add cleanup_code_path back to rebar_utils for eunit provider
il y a 10 ans
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
il y a 10 ans
Fred Hebert
392abf1481
First unkeyed var is now 'name', appid -> name
The first variable can be unkeyed and the provider will sub in the
variable name 'name'. Additionally, the built-in templates and
documentation have been updated so that 'appid' is now 'name' and the
alternative commands are shown.
il y a 10 ans
Fred Hebert
4ed1c4ef58
Allow to forcibly overwrite files with templates
il y a 10 ans
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
il y a 10 ans
Tristan Sloughter
79b1f23240
move back to using format_error/1
il y a 10 ans
Tristan Sloughter
8d02c0767e
add deps plt
il y a 10 ans
Tristan Sloughter
1548d6f1e2
strip newline from end of dialyzer format warnings
il y a 10 ans
Tristan Sloughter
8277bbf975
add dialyzer provider
il y a 10 ans
Tristan Sloughter
77ae749326
update package update provider
il y a 10 ans
Tristan Sloughter
26192b2187
pass deps dir of project to relx
il y a 10 ans
Tristan Sloughter
bcb3689654
main module cleanup
il y a 10 ans
Tristan Sloughter
f1ca7950c3
fix warning/error compilation output
il y a 10 ans
Tristan Sloughter
0608e5087b
prepend base_dir when expanding code path
il y a 10 ans
Tristan Sloughter
ee1214a9a8
add plugin and its deps to path as they are built
il y a 10 ans
Tristan Sloughter
d8f3ea005a
add comment
il y a 10 ans
Tristan Sloughter
557de6f8b4
support base dir and properly reset deps_dir after plugin provider
il y a 10 ans
Tristan Sloughter
5c465514b2
add deps to code paths after build so available to other deps
il y a 10 ans
Tristan Sloughter
1ff904f39a
handle throw by relx
il y a 10 ans
Tristan Sloughter
fd9f88b98a
get rid of old plugin loading
il y a 10 ans
Tristan Sloughter
e9adf01d01
warn on bad plugin
il y a 10 ans
Tristan Sloughter
deca5d9edb
add warning if user is running with erts-6.1
il y a 10 ans
Tristan Sloughter
36b8e61a2b
better handling of error messages
il y a 10 ans
Tristan Sloughter
f9b73b5d7a
properly reset cwd after finding version of git resource
il y a 10 ans
Tristan Sloughter
bc9bb1df49
support branch/tag/ref-less git deps
il y a 10 ans
Tristan Sloughter
fe6827706f
add eunit task, still work to be done
il y a 10 ans
Tristan Sloughter
f7e2b77bca
install test deps to separate directory
il y a 10 ans
Tristan Sloughter
c9f2652a16
common test provider must depend on test deps
il y a 10 ans
Tristan Sloughter
083d54211e
include relx options in tar command
il y a 10 ans
Tristan Sloughter
ed017289ed
switch ct provider to use external provider behavior
il y a 10 ans
Tristan Sloughter
c508a3feb8
fix tar provider to pass release and tar to relx as 2 commands
il y a 10 ans
Tristan Sloughter
055fa5b639
update config deps and support semver in app vsn
il y a 10 ans
Tristan Sloughter
a7bd7a3e1c
add make_vsn to rebar_resource for replacing app vsns
il y a 10 ans
Tristan Sloughter
6d800fc4c8
cleanup upgrade package
il y a 10 ans
Tristan Sloughter
26892b9d41
wip: upgrade pkg deps
il y a 10 ans
Tristan Sloughter
a7c2ecff73
add pkg resource
il y a 10 ans
Tristan Sloughter
d549901de4
add rebar_hooks module
il y a 10 ans
Tristan Sloughter
920fd53397
run legacy hooks for clean task
il y a 10 ans
Tristan Sloughter
541bc5a082
add --all option to clean
il y a 10 ans
Tristan Sloughter
044cd78b44
refactoring build loop
il y a 10 ans
Tristan Sloughter
6121f51124
reset hooks for project apps so they are only run once
il y a 10 ans
Tristan Sloughter
2dc5f28a7a
run legacy style hooks for compile provider
il y a 10 ans
Tristan Sloughter
7425c4c612
only pass current project state as state for project apps
il y a 10 ans
Tristan Sloughter
fd59279edc
don't return {error, {error, iolist()}} from rbear_topo
il y a 10 ans
Tristan Sloughter
35d1afd2f6
verify checked out dep is the same as specified in the config and update if not
il y a 10 ans
Tristan Sloughter
6c1201f1ac
dynamicly find module for fullfilling dependency
il y a 10 ans
Tristan Sloughter
ef1df1222d
create rebar_resource behaviour and create git resource
il y a 10 ans
Tristan Sloughter
1714e735f1
use error_format for prodiver error
il y a 10 ans
Tristan Sloughter
1dce2d36cc
add format_error/2 provider callback to providers
il y a 10 ans