Tristan Sloughter
20f4562c6d
fix for plugin installation and code paths
10 år sedan
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
10 år sedan
Tristan Sloughter
a6f33258e2
fix failure on missing OTP_VERSION file #403
10 år sedan
derwinlu
3edede54e7
fix rebar_git_resource
* fix shell commands relying on non windows shell commands
* fix shell commands using wrong quotes
* implement native wc -l
10 år sedan
Fred Hebert
4dd3eb5aef
Use resource handlers to deal with deps/semver
10 år sedan
Viacheslav V. Kovalev
29a855d31c
Revert accidentially changed formatting
10 år sedan
Viacheslav Kovalev
e255529da5
Get rid of rebar_utils:tup_umerge/2 patching
10 år sedan
Viacheslav Kovalev
82b0d4b7b2
Implement opts umerge deduplication
10 år sedan
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 år sedan
Tristan Sloughter
d75ba02671
support single atoms for pkg deps, fetch highest version available
10 år sedan
Tristan Sloughter
ef60d3b51f
re-export functions only used within rebar_utils that are also needed by plugins
10 år sedan
Tristan Sloughter
5e58823fd6
treat _checkouts as deps that are always compiled
10 år sedan
Tristan Sloughter
ae004ad234
flatten command to open_port so <17 Erlangs are happy
10 år sedan
Tristan Sloughter
794b985b1b
don't traverse into subdirectories looking for beams
10 år sedan
Tristan Sloughter
392108000a
use rebar_utils:sh for git and hg commands to have better errors and logs
10 år sedan
alisdair sullivan
4a61bae7b3
`as` delegates task handling to `do` provider
10 år sedan
Fred Hebert
a8ceafbf4c
Port env var expension fix from rebar2
See https://github.com/rebar/rebar/pull/458
10 år sedan
Tristan Sloughter
0c402a8293
output hook stdout and don't add extra newline
10 år sedan
Tristan Sloughter
8f03afded4
consolidate app validation and exist checks
10 år sedan
Tristan Sloughter
8874e414a8
sort project apps before merging deps
10 år sedan
alisdair sullivan
c79d13f5e8
factor out task/args parsing from `do` for use in other meta
commands
10 år sedan
Tristan Sloughter
91860340bb
print error message for failed fetch
10 år sedan
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 år sedan
Tristan Sloughter
5673fe035d
fixes for dialyzer findings
10 år sedan
Tristan Sloughter
9afd6e89b2
global plugins install to global config directory
10 år sedan
Tristan Sloughter
14cb6803e0
wip: profiles
10 år sedan
Tristan Sloughter
33e4b7e017
add cleanup_code_path back to rebar_utils for eunit provider
10 år sedan
Tristan Sloughter
6cae428058
use CONFIG_DIR of rebar3 for config directories
10 år sedan
Tristan Sloughter
1ff904f39a
handle throw by relx
10 år sedan
Tristan Sloughter
fe6827706f
add eunit task, still work to be done
10 år sedan
Tristan Sloughter
f7e2b77bca
install test deps to separate directory
10 år sedan
Tristan Sloughter
055fa5b639
update config deps and support semver in app vsn
10 år sedan
Tristan Sloughter
a7bd7a3e1c
add make_vsn to rebar_resource for replacing app vsns
10 år sedan
Tristan Sloughter
35d1afd2f6
verify checked out dep is the same as specified in the config and update if not
10 år sedan
Tristan Sloughter
fa74056d2a
test deps support, but builds them after project apps currently
10 år sedan
Tristan Sloughter
141d34a5d0
remove unused utils functions
10 år sedan
Tristan Sloughter
ffe8924f3b
fixed up a few unknown types
10 år sedan
Tristan Sloughter
1854276fb5
down to last 2 dialyzer errors
10 år sedan
Tristan Sloughter
a4d4c6ca63
fix support for r15
10 år sedan
Tristan Sloughter
6aaeae93ea
remove use of 17+ function lists:droplast/1
10 år sedan
Tristan Sloughter
b37fe2c4bb
refactoring and remove unused providers for now
10 år sedan
Tristan Sloughter
629792f36b
start of moving to splitting state from config parsing
10 år sedan
Tristan Sloughter
eb8fa02df7
large refactoring
Removed separate compilers
Resolves apps to build
Finds avail deps before pulling/building
Includes relx
Simplifies build commands
11 år sedan
Tuncer Ayaz
38934da869
Follow-up typo fixes for #327
11 år sedan
Tuncer Ayaz
9b060f2de9
rebar_utils:otp_release/0: handle vsn like x.y.z**
As mentioned in the OTP documentation, licensed customers may use
patched OTP installations where the otp_patch_apply tool adds a '**'
suffix as a flag saying the system consists of application versions from
multiple OTP versions. When we get such a version string, we drop the
suffix, as we cannot obtain relevant information from it as far as
tooling is concerned.
11 år sedan
Tuncer Ayaz
873d236ce9
Adapt arch string to versioning scheme changes (>= 17.x)
11 år sedan
Tuncer Ayaz
6f60256138
Fix minor whitespace and comment issues in rebar_utils
11 år sedan
Tino Breddin
9c23dfef72
Add REBAR to environment before executing hooks
REBAR will be set to the rebar binary which was executed and runs the
builds. Enables the use of the same binary for rebar invocations as
part of a pre or post hook like so:
${REBAR} escriptize
11 år sedan
redpine50
8cc5a6abdc
Do not wrap base_dir with filename:absname()
base_dir() returns already filename:absname()'ed path.
11 år sedan
redpine50
9d653f906d
Update rebar_utils.erl
On windows, bootstrap.bat failed with next error.
Command 'escriptize' not understood or not applicable
This happens because the drive name in path got from rebar_utils:get_cwd() and base_dir(Config) are different case.
Made the drive name the same lowercase using filename:absname().
11 år sedan