Tristan Sloughter
8635beffc1
catch error on multiplpe app files in an app dir
10 vuotta sitten
Tristan Sloughter
1d5703025c
fix default release output dir to _rel
10 vuotta sitten
Tristan Sloughter
926e550f3b
update package index fetching
10 vuotta sitten
Tristan Sloughter
4c8db4e047
write packages file to tmp so a lost connection doesn't mean corruption
10 vuotta sitten
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.
10 vuotta sitten
Tristan Sloughter
33e4b7e017
add cleanup_code_path back to rebar_utils for eunit provider
10 vuotta sitten
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
10 vuotta sitten
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.
10 vuotta sitten
Fred Hebert
4ed1c4ef58
Allow to forcibly overwrite files with templates
10 vuotta sitten
Fred Hebert
c832b567db
Redo templates with docs and whatnot
This totally breaks compatibility with rebar2, and maybe it shouldn't
have.
10 vuotta sitten
Tristan Sloughter
79b1f23240
move back to using format_error/1
10 vuotta sitten
Tristan Sloughter
8d02c0767e
add deps plt
10 vuotta sitten
Tristan Sloughter
1548d6f1e2
strip newline from end of dialyzer format warnings
10 vuotta sitten
Tristan Sloughter
8277bbf975
add dialyzer provider
10 vuotta sitten
Tristan Sloughter
77ae749326
update package update provider
10 vuotta sitten
Tristan Sloughter
26192b2187
pass deps dir of project to relx
10 vuotta sitten
Tristan Sloughter
bcb3689654
main module cleanup
10 vuotta sitten
Tristan Sloughter
f1ca7950c3
fix warning/error compilation output
10 vuotta sitten
Tristan Sloughter
0608e5087b
prepend base_dir when expanding code path
10 vuotta sitten
Tristan Sloughter
ee1214a9a8
add plugin and its deps to path as they are built
10 vuotta sitten
Tristan Sloughter
d8f3ea005a
add comment
10 vuotta sitten
Tristan Sloughter
557de6f8b4
support base dir and properly reset deps_dir after plugin provider
10 vuotta sitten
Tristan Sloughter
5c465514b2
add deps to code paths after build so available to other deps
10 vuotta sitten
Tristan Sloughter
1ff904f39a
handle throw by relx
10 vuotta sitten
Tristan Sloughter
fd9f88b98a
get rid of old plugin loading
10 vuotta sitten
Tristan Sloughter
e9adf01d01
warn on bad plugin
10 vuotta sitten
Tristan Sloughter
deca5d9edb
add warning if user is running with erts-6.1
10 vuotta sitten
Tristan Sloughter
36b8e61a2b
better handling of error messages
10 vuotta sitten
Tristan Sloughter
f9b73b5d7a
properly reset cwd after finding version of git resource
10 vuotta sitten
Tristan Sloughter
bc9bb1df49
support branch/tag/ref-less git deps
10 vuotta sitten
Tristan Sloughter
fe6827706f
add eunit task, still work to be done
10 vuotta sitten
Tristan Sloughter
f7e2b77bca
install test deps to separate directory
10 vuotta sitten
Tristan Sloughter
c9f2652a16
common test provider must depend on test deps
10 vuotta sitten
Tristan Sloughter
083d54211e
include relx options in tar command
10 vuotta sitten
Tristan Sloughter
ed017289ed
switch ct provider to use external provider behavior
10 vuotta sitten
Tristan Sloughter
c508a3feb8
fix tar provider to pass release and tar to relx as 2 commands
10 vuotta sitten
Tristan Sloughter
055fa5b639
update config deps and support semver in app vsn
10 vuotta sitten
Tristan Sloughter
a7bd7a3e1c
add make_vsn to rebar_resource for replacing app vsns
10 vuotta sitten
Tristan Sloughter
6d800fc4c8
cleanup upgrade package
10 vuotta sitten
Tristan Sloughter
26892b9d41
wip: upgrade pkg deps
10 vuotta sitten
Tristan Sloughter
a7c2ecff73
add pkg resource
10 vuotta sitten
Tristan Sloughter
d549901de4
add rebar_hooks module
10 vuotta sitten
Tristan Sloughter
920fd53397
run legacy hooks for clean task
10 vuotta sitten
Tristan Sloughter
541bc5a082
add --all option to clean
10 vuotta sitten
Tristan Sloughter
044cd78b44
refactoring build loop
10 vuotta sitten
Tristan Sloughter
6121f51124
reset hooks for project apps so they are only run once
10 vuotta sitten
Tristan Sloughter
2dc5f28a7a
run legacy style hooks for compile provider
10 vuotta sitten
Tristan Sloughter
7425c4c612
only pass current project state as state for project apps
10 vuotta sitten
Tristan Sloughter
fd59279edc
don't return {error, {error, iolist()}} from rbear_topo
10 vuotta sitten
Tristan Sloughter
35d1afd2f6
verify checked out dep is the same as specified in the config and update if not
10 vuotta sitten