Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Remove unused fun rebar_utils:get_os/0 | Tuncer Ayaz | 2011-01-09 | 1 | -20/+0 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -31/+75 |
| | | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh. | ||||
* | Fix bug 805 | Juhani Rankimies | 2010-11-22 | 1 | -1/+1 |
| | | | | | | Use rebar_utils:find_executable/1 that wraps the path in quotes to make it work even if it contains whitespace. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -2/+2 |
| | |||||
* | Clarify rebar_utils:ensure_dir/1 comment | Tuncer Ayaz | 2010-10-25 | 1 | -1/+2 |
| | |||||
* | Add spec: rebar_utils:abort/2 does not return | Tuncer Ayaz | 2010-10-15 | 1 | -0/+1 |
| | | | | Thanks to Kostis for no_return() result type. | ||||
* | Update TODO comment | Tuncer Ayaz | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | Fix dialyzer warning: os:find_executable(string()) | Tuncer Ayaz | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Fix dialyzer warnings in scm client vsn checks | Tuncer Ayaz | 2010-09-29 | 1 | -1/+5 |
| | |||||
* | Basic tweaks for compiling ports/nifs on mingw | Dan Gudmundsson | 2010-09-18 | 1 | -2/+21 |
| | |||||
* | fix get-deps on win32 | Juhani Rankimies | 2010-08-04 | 1 | -1/+5 |
| | |||||
* | Taught eunit/coverage to split the src module coverage stats from any test code. | Jon Meredith | 2010-05-03 | 1 | -0/+4 |
| | |||||
* | Make sure zip module is loaded | Tuncer Ayaz | 2010-03-11 | 1 | -0/+1 |
| | | | | Before we check for zip:foldl/3 make sure zip module is loaded. | ||||
* | Add escript_foldl/3 TODO | Tuncer Ayaz | 2010-03-06 | 1 | -0/+3 |
| | | | | | Comment what has to be done when the new OTP release is out and the time is right. | ||||
* | Add forward-compatible escript_foldl function | Tuncer Ayaz | 2010-03-05 | 1 | -1/+28 |
| | | | | | | escript:foldl/3 was undocumented and has been replaced with better APIs post-R13B04. The new exported funs are officially documented. | ||||
* | Update comment for filelib:ensure_dir/1 wrapper. | Tuncer Ayaz | 2010-02-17 | 1 | -8/+1 |
| | | | | The wrapper can now be removed as I've fixed the problem in R13B04. | ||||
* | Overhaul env expansion so that rebar fully expands env refs prior to ↵ | Dave Smith | 2010-02-16 | 1 | -2/+7 |
| | | | | invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. | ||||
* | Break out arch string function; update ERLANG_TARGET to include bitness of ↵ | Dave Smith | 2010-02-12 | 1 | -3/+6 |
| | | | | the Erlang target | ||||
* | Append wordsize to the architecture string | Dave Smith | 2010-02-10 | 1 | -1/+2 |
| | |||||
* | Provide package support for eunit; build_plt now includes listed ↵ | theiw | 2010-02-05 | 1 | -2/+12 |
| | | | | applications; begin including -spec annotations | ||||
* | Fixed issue 1 "priv/mibs/ is not automatically created" | Tuncer Ayaz | 2010-01-08 | 1 | -1/+20 |
| | |||||
* | Another round of refactoring to yield better flexiblity in the base_compiler ↵ | Dave Smith | 2010-01-03 | 1 | -1/+5 |
| | | | | system | ||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Got basic retrieval of deps from hg sorta working; minor refactoring of ↵ | Dave Smith | 2009-12-30 | 1 | -10/+12 |
| | | | | rebar_utils:sh interface | ||||
* | Silence warnings, courtesy of Tuncer Ayaz | Dave Smith | 2009-12-28 | 1 | -1/+1 |
| | |||||
* | Added now_str to return the local time as a string. | jmeredith@jons-macbook.local | 2009-12-03 | 1 | -1/+6 |
| | |||||
* | Adding more flexible arch check; adding sh command | Dave Smith | 2009-12-01 | 1 | -1/+41 |
| | |||||
* | Slowly working out port driver implementation | Dave Smith | 2009-11-30 | 1 | -1/+31 |
| | |||||
* | More work on getting compilation and clean working properly | Dave Smith | 2009-11-25 | 1 | -0/+1 |
| |