summaryrefslogtreecommitdiff
path: root/src/rebar_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when env vars contain utf8 charsDave Thomas2013-06-221-3/+3
|
* Add one more "unicode" option in expand_env_variable—I have a bullet in my ↵Dave Thomas2013-06-211-1/+1
| | | | prompt that was blowing it up
* Fix handling of Unicode characters in env varsSlava Yurin2013-02-181-1/+1
|
* Revert arch string changesTuncer Ayaz2012-10-291-6/+1
|
* Fix whitespace errorsTuncer Ayaz2012-09-281-1/+2
|
* deps: add fossil scm supportMartin Schut2012-09-281-4/+5
|
* Revert 15b7798e4 and restore old git-describe callTuncer Ayaz2012-09-211-11/+1
| | | | | Restore previous 'git describe' behaviour as discussed here: http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
* rebar_utils: refactor get_experimental and get_deprecated funsTuncer Ayaz2012-08-101-21/+17
|
* Use separate dirs for eunit and qcTuncer Ayaz2012-08-091-4/+0
|
* rebar_utils: fix whitespace errorTuncer Ayaz2012-08-091-1/+1
|
* Replace test-compile with compile_only=true optionTuncer Ayaz2012-08-091-0/+11
|
* rebar_utils: fix whitespace errorTuncer Ayaz2012-08-061-1/+1
|
* rebar_utils: call get_cwd/1 locallyTuncer Ayaz2012-08-061-2/+2
|
* rebar_utils: clean up specsTuncer Ayaz2012-08-061-2/+1
|
* Only print absolute filename if not in base_dirTuncer Ayaz2012-08-051-1/+9
|
* Fix -D handlingJoseph Wayne Norton2012-07-281-3/+3
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-2/+9
|
* Do not use application:set_envTuncer Ayaz2012-07-231-8/+8
|
* Remove shared stateTuncer Ayaz2012-07-131-7/+10
|
* Clean up rebar_utils exportsTuncer Ayaz2012-07-021-5/+5
|
* Move erl_opts/1 and src_dirs/1 to proper placeTuncer Ayaz2012-07-021-20/+20
|
* Move erl_opts/1 and src_dirs/1 to rebar_utils.erlMotiejus Jakštys2012-07-021-1/+47
| | | | These functions will be necessary in rebar_eunit.erl, too.
* Append os family to arch stringTuncer Ayaz2012-06-231-1/+6
|
* rebar_utils: move internal fun to proper placeTuncer Ayaz2012-06-231-33/+33
|
* Fix #252 (Reported-by: Maxim-Vladimirsky)Tuncer Ayaz2012-06-211-5/+4
|
* Fix #247 (Reported-by: Uvarov Michael)Tuncer Ayaz2012-06-171-2/+4
|
* Use delayed_halt everywhereDave Smith2012-06-081-1/+1
|
* Remove ?FAIL in favor of ?ABORTDave Smith2012-06-081-2/+6
|
* Clarify use of git describeTuncer Ayaz2012-05-111-3/+2
|
* Apply Tidier suggestionTuncer Ayaz2012-04-161-3/+1
|
* Skip erlang:halt/1 workaround if >=R15B01Tuncer Ayaz2012-03-271-7/+16
|
* Deprecate port_envs in favor of port_envTuncer Ayaz2012-03-091-2/+36
|
* Add rebar_utils:delayed_halt/1Tuncer Ayaz2012-02-161-2/+15
|
* Extend rebar_utils:deprecatedTuncer Ayaz2012-02-031-1/+8
|
* Fix Dialyzer (race condition) warningTuncer Ayaz2012-02-021-4/+5
|
* Cache vsn info to avoid expensive vcs cmd callsYurii Rashkovskii2012-02-021-0/+11
|
* Only print sh/2 options on debug log levelTuncer Ayaz2012-01-291-2/+2
|
* Fix whitespace errorsTuncer Ayaz2012-01-131-5/+6
|
* Clean up rebar_utilsTuncer Ayaz2012-01-101-30/+30
|
* Reverse order in rebar_utils:get_deprecated_global/3Tuncer Ayaz2012-01-061-7/+7
|
* Cleanup and simplify deprecated option handlingTuncer Ayaz2012-01-011-1/+16
|
* Move vcs_vsn/2 to rebar_utilsTuncer Ayaz2011-12-281-2/+57
|
* Universally support apps=/skip_apps=Tuncer Ayaz2011-12-121-1/+0
|
* Move is_skipped_app/0 to rebar_app_utilsTuncer Ayaz2011-12-121-39/+1
|
* Add rebar_utils:deprecated/4 and remove defineTuncer Ayaz2011-12-121-7/+10
|
* Make 'rebar xref' honour the skip_app directiveTorbjorn Tornkvist2011-12-121-1/+39
| | | | | | | | | | | | 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.
* Fix rebar_utils:expand_env_variable/3Jan Kloetzke2011-11-011-1/+1
| | | | | | | | | | | 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.
* Fix comments and formattingTuncer Ayaz2011-10-261-2/+2
|
* Overhaul environment expansion for better performanceDave Smith2011-10-261-6/+12
| | | | | | | | | | 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.
* rebar_utils:sh/2: remove bash invocation on WindowsJan Klötzke2011-10-201-18/+6
| | | | | | | | | | | | Currently rebar_utils:sh/2 will invoke all commands through bash.exe if found. Otherwise the command will be executed directly. Despite the fact that the caller cannot know if the command is executed with Unix or Windows semantics it leads to problems with MSYS's automatic path name translation. Therefore remove bash usage on Windows to get a consistent behavior and to avoid the peculiarities of MSYS's automatic path conversion. Instead use cmd.exe as its typically needed by most commands.