Dave Thomas
091405bce7
Fix crsh with Unicode in environment vars
hace 12 años
Dave Thomas
dd277fd01a
Fix crash when env vars contain utf8 chars
hace 12 años
Dave Thomas
934ec7fdef
Add one more "unicode" option in expand_env_variable—I have a bullet in my prompt that was blowing it up
hace 12 años
Slava Yurin
fb77295a1f
Fix handling of Unicode characters in env vars
hace 12 años
Tuncer Ayaz
588244465f
Revert arch string changes
hace 12 años
Tuncer Ayaz
2829741a38
Fix whitespace errors
hace 12 años
Martin Schut
fbbeb360a5
deps: add fossil scm support
hace 12 años
Tuncer Ayaz
1b52a597c4
Revert 15b7798e4
and restore old git-describe call
Restore previous 'git describe' behaviour as discussed here:
http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
hace 12 años
Tuncer Ayaz
8f3873e061
rebar_utils: refactor get_experimental and get_deprecated funs
hace 12 años
Tuncer Ayaz
e47d643ea3
Use separate dirs for eunit and qc
hace 12 años
Tuncer Ayaz
16091f9934
rebar_utils: fix whitespace error
hace 12 años
Tuncer Ayaz
803f6e8ecd
Replace test-compile with compile_only=true option
hace 12 años
Tuncer Ayaz
1b9f2a5981
rebar_utils: fix whitespace error
hace 12 años
Tuncer Ayaz
e2492eb37f
rebar_utils: call get_cwd/1 locally
hace 12 años
Tuncer Ayaz
870f8cfbb4
rebar_utils: clean up specs
hace 12 años
Tuncer Ayaz
0b18b208e2
Only print absolute filename if not in base_dir
hace 12 años
Joseph Wayne Norton
2d62896de0
Fix -D handling
hace 12 años
Tuncer Ayaz
e75a97ad33
Add 'qc' cmd and rename eunit-compile to test-compile
hace 14 años
Tuncer Ayaz
252757c753
Do not use application:set_env
hace 12 años
Tuncer Ayaz
e185e86bff
Remove shared state
hace 13 años
Tuncer Ayaz
9521d3fd86
Clean up rebar_utils exports
hace 13 años
Tuncer Ayaz
df9b77633a
Move erl_opts/1 and src_dirs/1 to proper place
hace 13 años
Motiejus Jakštys
394c0f43f8
Move erl_opts/1 and src_dirs/1 to rebar_utils.erl
These functions will be necessary in rebar_eunit.erl, too.
hace 13 años
Tuncer Ayaz
4e9e89bd0d
Append os family to arch string
hace 13 años
Tuncer Ayaz
c41fda6a2f
rebar_utils: move internal fun to proper place
hace 13 años
Tuncer Ayaz
e6165c7146
Fix #252 (Reported-by: Maxim-Vladimirsky)
hace 13 años
Tuncer Ayaz
0f961d86c6
Fix #247 (Reported-by: Uvarov Michael)
hace 13 años
Dave Smith
ebdb25c5cc
Use delayed_halt everywhere
hace 13 años
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
hace 13 años
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
hace 13 años
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
hace 13 años
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
hace 13 años
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
hace 13 años
Tuncer Ayaz
da122b3e57
Add rebar_utils:delayed_halt/1
hace 13 años
Tuncer Ayaz
ba538094ba
Extend rebar_utils:deprecated
hace 13 años
Tuncer Ayaz
a176db6937
Fix Dialyzer (race condition) warning
hace 13 años
Yurii Rashkovskii
fe1652e137
Cache vsn info to avoid expensive vcs cmd calls
hace 13 años
Tuncer Ayaz
440fa6bd31
Only print sh/2 options on debug log level
hace 13 años
Tuncer Ayaz
41d6abc64d
Fix whitespace errors
hace 13 años
Tuncer Ayaz
87669b6b7f
Clean up rebar_utils
hace 13 años
Tuncer Ayaz
1daa15293a
Reverse order in rebar_utils:get_deprecated_global/3
hace 13 años
Tuncer Ayaz
27e5a0ae5b
Cleanup and simplify deprecated option handling
hace 13 años
Tuncer Ayaz
1de48e4902
Move vcs_vsn/2 to rebar_utils
hace 13 años
Tuncer Ayaz
8c89a388bf
Universally support apps=/skip_apps=
hace 13 años
Tuncer Ayaz
a5e39c2c54
Move is_skipped_app/0 to rebar_app_utils
hace 13 años
Tuncer Ayaz
b1d84514f0
Add rebar_utils:deprecated/4 and remove define
hace 13 años
Torbjorn Tornkvist
b4f136d752
Make 'rebar xref' honour the skip_app directive
It is now possible to call rebar as:
rebar xref skip_app=Mod1,Mod2,...
This makes it easy to skip running xref on (e.g)
imported dependencies in your application.
The function rebar_utils:is_skipped_app/0 is added so
that other rebar commands may use it.
hace 13 años
Jan Kloetzke
b10224be62
Fix rebar_utils:expand_env_variable/3
The function may fail with a badarg exception because the first regex
returns an iolist() which is allowed to be a improper list. In this case
'++' cannot append to the iolist. The correct way to append something to
an iolist() is
[iolist(), "tail"]
because iolist's are allowed to be arbitrarily deep lists.
hace 13 años
Tuncer Ayaz
c373f29292
Fix comments and formatting
hace 13 años
Dave Smith
17616d1078
Overhaul environment expansion for better performance
The introduction of setup_env as a global concept caused the rebar_port_compiler
implementation to start getting called a LOT. The expansion of environment variables
that happens in the port compiler was O(n^n), which means you could see upwards of
80k invocations of lists:foldl on a single app "./rebar clean". This commit reworks
the expansion to be O(n^2), and reduces the running time for the same operation by
60%+. On a large project like Riak, the end result is that a build went from 200
seconds to 73.
hace 13 años