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