Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move erl_opts/1 and src_dirs/1 to proper place | Tuncer Ayaz | 2012-07-02 | 1 | -20/+20 | |
| | ||||||
* | Move erl_opts/1 and src_dirs/1 to rebar_utils.erl | Motiejus Jakštys | 2012-07-02 | 1 | -1/+47 | |
| | | | | These functions will be necessary in rebar_eunit.erl, too. | |||||
* | Append os family to arch string | Tuncer Ayaz | 2012-06-23 | 1 | -1/+6 | |
| | ||||||
* | rebar_utils: move internal fun to proper place | Tuncer Ayaz | 2012-06-23 | 1 | -33/+33 | |
| | ||||||
* | Fix #252 (Reported-by: Maxim-Vladimirsky) | Tuncer Ayaz | 2012-06-21 | 1 | -5/+4 | |
| | ||||||
* | Fix #247 (Reported-by: Uvarov Michael) | Tuncer Ayaz | 2012-06-17 | 1 | -2/+4 | |
| | ||||||
* | Use delayed_halt everywhere | Dave Smith | 2012-06-08 | 1 | -1/+1 | |
| | ||||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -2/+6 | |
| | ||||||
* | Clarify use of git describe | Tuncer Ayaz | 2012-05-11 | 1 | -3/+2 | |
| | ||||||
* | Apply Tidier suggestion | Tuncer Ayaz | 2012-04-16 | 1 | -3/+1 | |
| | ||||||
* | Skip erlang:halt/1 workaround if >=R15B01 | Tuncer Ayaz | 2012-03-27 | 1 | -7/+16 | |
| | ||||||
* | Deprecate port_envs in favor of port_env | Tuncer Ayaz | 2012-03-09 | 1 | -2/+36 | |
| | ||||||
* | Add rebar_utils:delayed_halt/1 | Tuncer Ayaz | 2012-02-16 | 1 | -2/+15 | |
| | ||||||
* | Extend rebar_utils:deprecated | Tuncer Ayaz | 2012-02-03 | 1 | -1/+8 | |
| | ||||||
* | Fix Dialyzer (race condition) warning | Tuncer Ayaz | 2012-02-02 | 1 | -4/+5 | |
| | ||||||
* | Cache vsn info to avoid expensive vcs cmd calls | Yurii Rashkovskii | 2012-02-02 | 1 | -0/+11 | |
| | ||||||
* | Only print sh/2 options on debug log level | Tuncer Ayaz | 2012-01-29 | 1 | -2/+2 | |
| | ||||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-01-13 | 1 | -5/+6 | |
| | ||||||
* | Clean up rebar_utils | Tuncer Ayaz | 2012-01-10 | 1 | -30/+30 | |
| | ||||||
* | Reverse order in rebar_utils:get_deprecated_global/3 | Tuncer Ayaz | 2012-01-06 | 1 | -7/+7 | |
| | ||||||
* | Cleanup and simplify deprecated option handling | Tuncer Ayaz | 2012-01-01 | 1 | -1/+16 | |
| | ||||||
* | Move vcs_vsn/2 to rebar_utils | Tuncer Ayaz | 2011-12-28 | 1 | -2/+57 | |
| | ||||||
* | Universally support apps=/skip_apps= | Tuncer Ayaz | 2011-12-12 | 1 | -1/+0 | |
| | ||||||
* | Move is_skipped_app/0 to rebar_app_utils | Tuncer Ayaz | 2011-12-12 | 1 | -39/+1 | |
| | ||||||
* | Add rebar_utils:deprecated/4 and remove define | Tuncer Ayaz | 2011-12-12 | 1 | -7/+10 | |
| | ||||||
* | Make 'rebar xref' honour the skip_app directive | Torbjorn Tornkvist | 2011-12-12 | 1 | -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/3 | Jan Kloetzke | 2011-11-01 | 1 | -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 formatting | Tuncer Ayaz | 2011-10-26 | 1 | -2/+2 | |
| | ||||||
* | Overhaul environment expansion for better performance | Dave Smith | 2011-10-26 | 1 | -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 Windows | Jan Klötzke | 2011-10-20 | 1 | -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. | |||||
* | Fix Dialyzer warning | Tuncer Ayaz | 2011-09-08 | 1 | -6/+12 | |
| | ||||||
* | Search plugin sources in base_dir and plugin_dir | Tuncer Ayaz | 2011-08-29 | 1 | -1/+6 | |
| | ||||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-08-20 | 1 | -4/+3 | |
| | ||||||
* | Limit line length | Tuncer Ayaz | 2011-08-20 | 1 | -3/+3 | |
| | ||||||
* | Support command invocation on Windows without MSYS | Jan Klötzke | 2011-08-20 | 1 | -6/+26 | |
| | | | | | | If MSYS (with bash) is not installed on Windows then do the shell variable substitution by ourselves. Otherwise just call bash to do the job. | |||||
* | Remove unused function rebar_utils:deprecated/4 | Tuncer Ayaz | 2011-07-28 | 1 | -11/+7 | |
| | ||||||
* | Optimize list ops and error reporting in sh/2 | Tuncer Ayaz | 2011-07-18 | 1 | -11/+11 | |
| | ||||||
* | Deprecate xrl_opts/yrl_opts fail_on_warning opt | Tuncer Ayaz | 2011-06-08 | 1 | -7/+7 | |
| | ||||||
* | Extract code to get wordsize into helper function | Tuncer Ayaz | 2011-05-31 | 1 | -7/+11 | |
| | ||||||
* | Use external wordsize to get emulator build arch | Steve Vinoski | 2011-05-31 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | Calling erlang:system_info(wordsize) yields the internal word size of the Erlang emulator. But due to the halfword emulator, need to pass {wordsize, external} instead to get the word size, or pointer size, as seen by external code such as NIFs. The halfword emulator has 4 byte internal words but 8 byte external words due to 64-bit compilation, which means NIFs for the halfword emulator also have to be compiled 64-bit. But just passing wordsize is equivalent to passing {wordsize, internal}, which does not indicate the pointer size for the halfword emulator. Older versions of Erlang do not support {wordsize, external}, though, so continue to pass just wordsize for those versions. | |||||
* | Make sure to pass dir of app when invoking git; enhance shell logging output | Dave Smith | 2011-04-10 | 1 | -1/+1 | |
| | ||||||
* | Deprecate fail_on_warning and refactor code | Tuncer Ayaz | 2011-04-07 | 1 | -1/+19 | |
| | ||||||
* | Convert the entries in the code path to absolute paths | Juan Jose Comellas | 2011-02-26 | 1 | -1/+10 | |
| | | | | | | | Rebar will exit with {error,bad_directory} when trying to restore the code path after it has finished working on a subdirectory if there are invalid relative paths in it. The problem was seen when executing the last line of rebar_erlc_compiler:doterl_compile/3 (true = code:set_path(CurrPath)). | |||||
* | Clean up rebar_appups and rebar_upgrade | joewilliams | 2011-02-17 | 1 | -35/+0 | |
| | ||||||
* | Add 'generate-appups' command | joewilliams | 2011-02-15 | 1 | -1/+41 | |
| | | | | | | | | | | | | | | | To further support OTP releases I have added support for generating application appup files. These include instructions that systools uses to generate a relup file which contains the low level instructions needed to perform a hot code upgrade. My goal with this module is to produce "good enough" appup files or at least a skeleton to help one get started with something more complex. If an appup file already exists for an application this command will not attempt to create a new one. Usage: $ rebar generate-appups previous_release=/path/to/old/version Generally this command will be run just before 'generate-upgrade'. | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -1/+1 | |
| | ||||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 | |
| | ||||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -8/+8 | |
| | ||||||
* | Add otp_release to platform string | Joseph Wayne Norton | 2011-01-09 | 1 | -1/+2 | |
| | ||||||
* | Fix Dialyzer warning | Tuncer Ayaz | 2011-01-09 | 1 | -3/+5 | |
| |