Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -60/+84 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Use filename:join instead of ?FMT | Tuncer Ayaz | 2011-01-28 | 1 | -2/+4 |
| | |||||
* | Add support for arch specific port_sources | Andrew Tunnell-Jones | 2011-01-17 | 1 | -1/+13 |
| | | | | | | | | | On one project I have a need to specify port_sources on R14 only and on another different project port_sources for Darwin and Linux. To this end add support to handle tuples of the form {ArchRegex, PortSource} in the port_sources list, eg: {port_sources, [{"R14", ["c_src/*.c"]}]}. | ||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -1/+4 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -9/+13 |
| | | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh. | ||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -3/+2 |
| | |||||
* | Fix dialyzer warning for filename:join/2 calls | Tuncer Ayaz | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | Basic tweaks for compiling ports/nifs on mingw | Dan Gudmundsson | 2010-09-18 | 1 | -1/+20 |
| | |||||
* | Defaulting CC->cc and CXX->c++ for better cross platform support | Dave Smith | 2010-07-12 | 1 | -2/+2 |
| | |||||
* | Fix bug 255; O/S environment vars should be processed last, not first | Dave Smith | 2010-06-22 | 1 | -1/+1 |
| | |||||
* | Complete implementation for simplistic .app.src processing. | Dave Smith | 2010-05-07 | 1 | -6/+2 |
| | |||||
* | Make sure that the so_specs stuff is properly backwards compatible | Dave Smith | 2010-05-03 | 1 | -14/+23 |
| | |||||
* | Add missing CXXFLAGS equivalents of CFLAGS | Tuncer Ayaz | 2010-04-29 | 1 | -0/+3 |
| | |||||
* | merged from basho | Cliff Moon | 2010-04-28 | 1 | -2/+13 |
|\ | |||||
| * | Add default CFLAGS for platforms where there can be variation of 32/64 bit ↵ | Dave Smith | 2010-04-28 | 1 | -2/+13 |
| | | | | | | | | Erlang VMs | ||||
| * | Refactoring app file access to be via rebar_app_utils in prep for supporting ↵ | Dave Smith | 2010-04-28 | 1 | -6/+3 |
| | | | | | | | | .app.src | ||||
* | | add new configuration option so_specs which allows multiple drivers to be ↵ | Cliff Moon | 2010-04-28 | 1 | -18/+26 |
|/ | | | | built in the same project. | ||||
* | Fix unused var warning | Tuncer Ayaz | 2010-02-25 | 1 | -1/+1 |
| | |||||
* | Deal properly with env vars that have multiple = in the value | Dave Smith | 2010-02-16 | 1 | -2/+2 |
| | |||||
* | Overhaul env expansion so that rebar fully expands env refs prior to ↵ | Dave Smith | 2010-02-16 | 1 | -22/+78 |
| | | | | 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 | -1/+1 |
| | | | | the Erlang target | ||||
* | I'm a moron. Make it a string. | Ryan Tilder | 2010-02-10 | 1 | -1/+1 |
| | |||||
* | Adding new vars for scripts to determine architecture (32/64 bit) and target ↵ | Dave Smith | 2010-02-10 | 1 | -1/+3 |
| | | | | platform of Erlang VM; courtesy of rtilder | ||||
* | Tweaking order of defaults so that -shared is default across platforms ↵ | Dave Smith | 2010-02-01 | 1 | -1/+1 |
| | | | | unless explicitly overridden | ||||
* | Removing useless debug message and extraneous newline | Dave Smith | 2010-02-01 | 1 | -2/+0 |
| | |||||
* | Tweak support for controlling so_name | Dave Smith | 2010-01-26 | 1 | -2/+2 |
| | |||||
* | Added so_name entry to rebar.config so linked-in drivers can specify custom ↵ | Kevin Smith | 2010-01-05 | 1 | -13/+18 |
| | | | | .so names | ||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -6/+6 |
| | |||||
* | Revert change to linking order arguments | Dave Smith | 2009-12-18 | 1 | -1/+1 |
| | |||||
* | Reorder arguments to CC for linking and fix needs_link to function properly | Dave Smith | 2009-12-16 | 1 | -3/+5 |
| | |||||
* | Fixing number of warnings and buglets | Dave Smith | 2009-12-14 | 1 | -1/+1 |
| | |||||
* | Basic implementation of port compiler is now complete | Dave Smith | 2009-12-01 | 1 | -76/+171 |
| | |||||
* | Slowly working out port driver implementation | Dave Smith | 2009-11-30 | 1 | -0/+179 |