Permalink
Commits on Feb 15, 2011
  1. Give an absolute path to code:add_path/1

    If an app uses -include_lib for its own included files, compilation
    fails if the app directory isn't in $ERL_LIBS because code:lib_dir/1
    will return an error. An absolute path needs to be added to code path
    instead of just "ebin".
    nox committed with tuncer Feb 15, 2011
  2. Remove gratuitous spaces

    tuncer committed Feb 15, 2011
  3. Add common_test suite template

    This change adds a simple common_test suite template
    that can be instantiated with the name of a module
    under test like so:
    
    `rebar create template=ctsuite testmod=mymodule`
    
    The template creates an empty test suite in the test
    directory, automatically exports test functions and
    sets up a first, skipped test function.
    hyperthunk committed with tuncer Jan 26, 2011
  4. Clarify trailing slash for PIPE_DIR

    The trailing slash for PIPE_DIR is necessary for
    both start and attach operations.
    norton committed with tuncer Feb 12, 2011
Commits on Feb 13, 2011
  1. Document eunit_first_files

    tuncer committed Feb 13, 2011
  2. Remove export_all directive

    tuncer committed Feb 13, 2011
  3. Add eunit_first_files option

    norton committed with tuncer Dec 16, 2010
  4. Support 2 forms of implicit HEAD for git

    In git origin/HEAD is a pointer to the default branch.  This patch
    allows two alternatives to explicitly specifying "HEAD" in git VC specs.
    
    The first is a 2 arity form {git, Url} and the second is {git, Url, ""}
    which worked in pre-update-deps rebars.
    David Reid committed with tuncer Feb 7, 2011
Commits on Feb 6, 2011
  1. Clean up code

    tuncer committed Jan 28, 2011
Commits on Jan 31, 2011
  1. Fix warning

    tuncer committed Jan 31, 2011
Commits on Jan 30, 2011
  1. Add Tim Watson to THANKS file

    tuncer committed Jan 30, 2011
Commits on Jan 29, 2011
  1. Fix file existence checks

    tuncer committed Jan 29, 2011
  2. Move BUILD_TIME and VCS_INFO macros

    I have moved these macros from rebar_core.erl to rebar.erl
    in order to prevent eunit tests from failing (which they
    currently are).
    hyperthunk committed with tuncer Jan 26, 2011
  3. Fix bug 294

    tuncer committed Jan 20, 2011
Commits on Jan 28, 2011
  1. Use filename:join instead of ?FMT

    tuncer committed Jan 28, 2011
  2. Update shell completion: generate-upgrade

    Add generate-upgrade and previous_release=.
    tuncer committed Jan 28, 2011
Commits on Jan 27, 2011
  1. Update THANKS file

    tuncer committed Jan 27, 2011
  2. Add 'generate-upgrade' command

    To support OTP release upgrades I have added support for building
    upgrade packages. Support for this is included in the
    rebar_upgrade module, specifically generate_upgrade/2. It requires
    one variable to be set on the command line 'previous_release' which
    is the absolute path or relative path from 'rel/' to the previous
    release one is upgrading from. Running an upgrade will create the
    needed files, including a relup and result in a tarball containing
    the upgrade being written to 'rel/'. When done it cleans up the
    temporary files systools created.
    
    Usage:
    $ rebar generate-upgrade previous_release=/path/to/old/version
    
    This also includes a dummy application that can be used to test
    upgrades as well as an example.
    
    Special thanks to Daniel Reverri, Jesper Louis Andersen and
    Richard Jones for comments and patches.
    joewilliams committed with tuncer Jan 27, 2011
  3. Fix circular dependency

    tuncer committed Jan 27, 2011
Commits on Jan 26, 2011
Commits on Jan 24, 2011
  1. Add support for abbreviated command names

    This change makes it possible to type the beginning (the prefix) of a
    command name and rebar will guess the full name of the command,
    thereby saving the user precious keystrokes.  As long as the prefix
    matches only one command, rebar runs that command, otherwise rebar
    prints a list of candidate command names. The "-" character is
    considered to be a word separator and the prefix matching is done per
    word.
    
    Example prefix matches:
    
        co       ==> compile
        cl       ==> clean
        create   ==> create
        create-a ==> create-app
        c-a      ==> create-app
        c-app    ==> create-app
    klajo committed with tuncer Jan 24, 2011
Commits on Jan 23, 2011
  1. Update getopt

    tuncer committed Jan 23, 2011
Commits on Jan 21, 2011
Commits on Jan 17, 2011
  1. Update THANKS file

    tuncer committed Jan 17, 2011
  2. Add support for arch specific port_sources

    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"]}]}.
    andrewtj committed with tuncer Jan 10, 2011
  3. Update README: coding style

    tuncer committed Jan 17, 2011
Commits on Jan 15, 2011
  1. Update README: coding style

    tuncer committed Jan 15, 2011
Commits on Jan 14, 2011
  1. Update README: fix formatting

    tuncer committed Jan 14, 2011