Dave Thomas
091405bce7
Fix crsh with Unicode in environment vars
12 years ago
Dave Thomas
dd277fd01a
Fix crash when env vars contain utf8 chars
12 years ago
Dave Thomas
934ec7fdef
Add one more "unicode" option in expand_env_variable—I have a bullet in my prompt that was blowing it up
12 years ago
Slava Yurin
fb77295a1f
Fix handling of Unicode characters in env vars
12 years ago
Tuncer Ayaz
588244465f
Revert arch string changes
12 years ago
Tuncer Ayaz
2829741a38
Fix whitespace errors
12 years ago
Martin Schut
fbbeb360a5
deps: add fossil scm support
12 years ago
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
12 years ago
Tuncer Ayaz
8f3873e061
rebar_utils: refactor get_experimental and get_deprecated funs
12 years ago
Tuncer Ayaz
e47d643ea3
Use separate dirs for eunit and qc
12 years ago
Tuncer Ayaz
16091f9934
rebar_utils: fix whitespace error
12 years ago
Tuncer Ayaz
803f6e8ecd
Replace test-compile with compile_only=true option
12 years ago
Tuncer Ayaz
1b9f2a5981
rebar_utils: fix whitespace error
12 years ago
Tuncer Ayaz
e2492eb37f
rebar_utils: call get_cwd/1 locally
12 years ago
Tuncer Ayaz
870f8cfbb4
rebar_utils: clean up specs
12 years ago
Tuncer Ayaz
0b18b208e2
Only print absolute filename if not in base_dir
12 years ago
Joseph Wayne Norton
2d62896de0
Fix -D handling
12 years ago
Tuncer Ayaz
e75a97ad33
Add 'qc' cmd and rename eunit-compile to test-compile
14 years ago
Tuncer Ayaz
252757c753
Do not use application:set_env
12 years ago
Tuncer Ayaz
e185e86bff
Remove shared state
13 years ago
Tuncer Ayaz
9521d3fd86
Clean up rebar_utils exports
13 years ago
Tuncer Ayaz
df9b77633a
Move erl_opts/1 and src_dirs/1 to proper place
13 years ago
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.
13 years ago
Tuncer Ayaz
4e9e89bd0d
Append os family to arch string
13 years ago
Tuncer Ayaz
c41fda6a2f
rebar_utils: move internal fun to proper place
13 years ago
Tuncer Ayaz
e6165c7146
Fix #252 (Reported-by: Maxim-Vladimirsky)
13 years ago
Tuncer Ayaz
0f961d86c6
Fix #247 (Reported-by: Uvarov Michael)
13 years ago
Dave Smith
ebdb25c5cc
Use delayed_halt everywhere
13 years ago
Dave Smith
c86c99940d
Remove ?FAIL in favor of ?ABORT
13 years ago
Tuncer Ayaz
e6d5a494b0
Clarify use of git describe
13 years ago
Tuncer Ayaz
fc83f4b961
Apply Tidier suggestion
13 years ago
Tuncer Ayaz
3f14c1c092
Skip erlang:halt/1 workaround if >=R15B01
13 years ago
Tuncer Ayaz
9d5557b16f
Deprecate port_envs in favor of port_env
13 years ago
Tuncer Ayaz
da122b3e57
Add rebar_utils:delayed_halt/1
13 years ago
Tuncer Ayaz
ba538094ba
Extend rebar_utils:deprecated
13 years ago
Tuncer Ayaz
a176db6937
Fix Dialyzer (race condition) warning
13 years ago
Yurii Rashkovskii
fe1652e137
Cache vsn info to avoid expensive vcs cmd calls
13 years ago
Tuncer Ayaz
440fa6bd31
Only print sh/2 options on debug log level
13 years ago
Tuncer Ayaz
41d6abc64d
Fix whitespace errors
13 years ago
Tuncer Ayaz
87669b6b7f
Clean up rebar_utils
13 years ago
Tuncer Ayaz
1daa15293a
Reverse order in rebar_utils:get_deprecated_global/3
13 years ago
Tuncer Ayaz
27e5a0ae5b
Cleanup and simplify deprecated option handling
13 years ago
Tuncer Ayaz
1de48e4902
Move vcs_vsn/2 to rebar_utils
13 years ago
Tuncer Ayaz
8c89a388bf
Universally support apps=/skip_apps=
13 years ago
Tuncer Ayaz
a5e39c2c54
Move is_skipped_app/0 to rebar_app_utils
13 years ago
Tuncer Ayaz
b1d84514f0
Add rebar_utils:deprecated/4 and remove define
13 years ago
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.
13 years ago
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.
13 years ago
Tuncer Ayaz
c373f29292
Fix comments and formatting
13 years ago
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.
13 years ago