Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg | Tuncer Ayaz | 2012-12-31 | 1 | -2/+26 |
| | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | ||||
* | Support environment vars with unicode characters | José Valim | 2012-11-22 | 1 | -3/+3 |
| | | | | | | | The results returned by os:getenv() may contain unicode characters. That said, we need to explicitly allow unicode when splitting the environment information, otherwise badarg will be raised causing all rebar commands to fail until the environment variable is removed. | ||||
* | Be sure to filter empty sources (h/t to Tuncer and Joe Norton) | Dave Smith | 2012-11-12 | 1 | -10/+11 |
| | |||||
* | Restore support for so_name, port_envs and port_sources | Dave Smith | 2012-11-11 | 1 | -10/+41 |
| | |||||
* | Update port_env for Mountain Lion (Noticed-by: Tony Rogvall) | Tuncer Ayaz | 2012-09-01 | 1 | -9/+4 |
| | |||||
* | Only print absolute filename if not in base_dir | Tuncer Ayaz | 2012-08-05 | 1 | -10/+15 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | Fix -D handling | Joseph Wayne Norton | 2012-07-28 | 1 | -6/+6 |
| | |||||
* | Fix indenting | Tuncer Ayaz | 2012-07-23 | 1 | -1/+1 |
| | |||||
* | Finalize port_compiler deprecations | Tuncer Ayaz | 2012-07-23 | 1 | -137/+21 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -3/+4 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -17/+20 |
| | |||||
* | Merge pull request #157 from dch/dch-windows-msvc-support | Dave Smith | 2012-07-11 | 1 | -1/+25 |
|\ | | | | | add native Windows compiler support | ||||
| * | Windows: add native SDK support | Dave Cottlehuber | 2012-06-08 | 1 | -1/+25 |
| | | | | | | | | - compatible with rebar 2.0.0 | ||||
* | | Fix #247 (Reported-by: Uvarov Michael) | Tuncer Ayaz | 2012-06-17 | 1 | -2/+1 |
| | | |||||
* | | Manually format port_compiler errors with absolute path | Tuncer Ayaz | 2012-06-11 | 1 | -3/+17 |
|/ | |||||
* | Fix file extension bug (Reported-by: Tony Rogvall) | Tuncer Ayaz | 2012-05-14 | 1 | -3/+3 |
| | |||||
* | Do not use inherited port options | Tuncer Ayaz | 2012-04-23 | 1 | -16/+17 |
| | |||||
* | Add support for target-specific port options | Tuncer Ayaz | 2012-04-16 | 1 | -176/+200 |
| | | | | {port_specs, [{".*", "priv/foo.so", ["c_src/foo.c"], [{env, []}]}]}. | ||||
* | Deprecate port_envs in favor of port_env | Tuncer Ayaz | 2012-03-09 | 1 | -50/+52 |
| | |||||
* | Remove debug log | Tuncer Ayaz | 2012-02-12 | 1 | -1/+0 |
| | |||||
* | Fix regression in port_compiler needs_link check | Tuncer Ayaz | 2012-02-10 | 1 | -6/+12 |
| | |||||
* | Use lists:flatmap/2 | Tuncer Ayaz | 2012-02-07 | 1 | -6/+6 |
| | |||||
* | Rework port compiler support | Tuncer Ayaz | 2012-02-03 | 1 | -75/+200 |
| | | | | | * consolidate options * add support for building executables | ||||
* | Fix -D and -v handling with new getopt.erl | Tuncer Ayaz | 2012-01-29 | 1 | -8/+3 |
| | |||||
* | Remove port_first_files support | Tuncer Ayaz | 2012-01-09 | 1 | -22/+3 |
| | |||||
* | Fail if erl_interface not found | Jesse Gumm | 2011-12-08 | 1 | -2/+10 |
| | | | | | | Previously if erl_interface could not be found {error, not_found} was incorrectly used as a path. With this change we fail early with a descriptive error message. | ||||
* | Add support for first_files to port compiler | Tim Watson | 2011-11-30 | 1 | -3/+22 |
| | | | | | This patch adds support for first_files to the port_compiler, via the new `port_first_files` rebar config element. | ||||
* | Remove obsolete comments (thanks Tim Watson) | Tuncer Ayaz | 2011-11-04 | 1 | -8/+0 |
| | |||||
* | Fix comments and formatting | Tuncer Ayaz | 2011-10-26 | 1 | -7/+11 |
| | |||||
* | Overhaul environment expansion for better performance | Dave Smith | 2011-10-26 | 1 | -28/+41 |
| | | | | | | | | | | 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. | ||||
* | Add -D support to rebar_port_compiler | Tuncer Ayaz | 2011-10-23 | 1 | -1/+11 |
| | |||||
* | Limit line length | Tuncer Ayaz | 2011-08-20 | 1 | -2/+4 |
| | |||||
* | Support command invocation on Windows without MSYS | Jan Klötzke | 2011-08-20 | 1 | -19/+7 |
| | | | | | | 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. | ||||
* | Extend port compiler default env for Darwin 11 32-bit | Tuncer Ayaz | 2011-08-01 | 1 | -1/+6 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-06-02 | 1 | -1/+1 |
| | |||||
* | Make port compilation template configurable | Juhani Rankimies | 2011-06-02 | 1 | -15/+40 |
| | | | | | | - Port compiler no longer requires bash on windows. - It's possible to use compilers whose command lines don't fit into the default template | ||||
* | Cleanup deprecations now that R14B03 is released | Tuncer Ayaz | 2011-05-31 | 1 | -41/+1 |
| | |||||
* | Extract code to get wordsize into helper function | Tuncer Ayaz | 2011-05-31 | 1 | -8/+1 |
| | |||||
* | Use external wordsize to get emulator build arch | Steve Vinoski | 2011-05-31 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Change arch-specific port_sources to take a list | Andrew Tunnell-Jones | 2011-05-28 | 1 | -6/+6 |
| | | | | | | | | | | Change the second parameter of a regex tagged port_source from being a filename or wildcard to being a list of filenames or wildcards. Previously: {"R14", "c_src/*.c"} Now: {"R14", ["c_src/*.c"]} Motivation for change is to avoid repeating regexes. | ||||
* | Fix leftover whitespace errors | Tuncer Ayaz | 2011-05-23 | 1 | -9/+9 |
| | |||||
* | Fix indentation errors | Tuncer Ayaz | 2011-05-23 | 1 | -37/+36 |
| | |||||
* | Fix indentation errors | Tuncer Ayaz | 2011-05-21 | 1 | -36/+37 |
| | |||||
* | Change logic to support more port env use cases | Anthony Molinaro | 2011-05-13 | 1 | -11/+41 |
| | | | | | | | | | | | | | | | | | | The logic changes from strict overrides to a hybrid for merging os_env and defaults, whereby defaults are chosen if they are not set in the os_env or if the defaults contains substitutions (at which point os environment is substituted). This still means that rebar.config works as it did before, where it overrides or substitutes based on the use of $VAR, but that default and os environment merging works such that the common cases of providing CC or LDFLAGS in the users environment or command line work as you might expect. In that CC is overriden by the os environment unless rebar.config overrides it, and LDFLAGS from the user environment is appended or prepended based on defaults and rebar.config. Addresses problems with https://github.com/basho/rebar/pull/71 Also keeps the fix for bug 255. | ||||
* | Fix code readability in port_compiler | Tuncer Ayaz | 2011-05-12 | 1 | -15/+15 |
| | |||||
* | Add missing newline in port_compiler debug msg | Tuncer Ayaz | 2011-04-28 | 1 | -1/+1 |
| | |||||
* | Add support for command-specific env for hooks | Tuncer Ayaz | 2011-04-21 | 1 | -11/+12 |
| | |||||
* | Deprecate fail_on_warning and refactor code | Tuncer Ayaz | 2011-04-07 | 1 | -17/+6 |
| | |||||
* | Deprecate old hooks | Tuncer Ayaz | 2011-03-12 | 1 | -0/+17 |
| |