Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 31, 2015
  1. @vinoski

    Make rebar account for 32-/64-bit builds

    vinoski authored
    In rebar.config, use the rebar ERLANG_ARCH environment variable to
    determine appropriate compiler/linker flags to match the 32- or 64-bit
    build of the Erlang runtime in use.
Commits on Jan 18, 2015
  1. @vinoski

    For rebar, make ibrowse a dep only for Yaws dev mode

    vinoski authored
    For rebar builds, rather than treating ibrowse as a normal dependency even
    though it's used only for testing, make rebar.config.script check for the
    existence of a .rebar/YAWS_DEV_MODE file and only if present, add ibrowse
    as a dependency. This allows projects that use Yaws as a rebar dependency
    to avoid having to pull in ibrowse.
    (Credit goes to Seth Falcon for this idea; he added something like this to
    the Basho webmachine project for a test-only dependency there, and I
    borrowed his idea for Yaws.)
Commits on Jan 4, 2015
  1. @vinoski

    dialyzer changes

    vinoski authored
    Remove no_debug_info from rebar.config to support dialyzer.
    Fix known_dialyzer_warnings to compensate for latest source changes.
Commits on Mar 20, 2014
  1. @vinoski

    fix #173: set ibrowse dep to v3.0.4 in rebar.config

    vinoski authored
    Set ibrowse dependency to version 3.0.4 to match what test/Makefile
    selects. Later versions do not work so well on OS X Mavericks.
Commits on Aug 25, 2012
  1. @vinoski

    make sure "rebar eunit" passes

    vinoski authored
    When using yaws as an app dependency for another application built with
    rebar, I noticed that testing that application with "rebar eunit" would
    fail while testing yaws. It was easy to work around with "rebar eunit
    skip_deps=true" but yaws really should pass its tests when tested via
    Change rebar.config to add ibrowse as a dependency. It's used only for
    testing, but rebar doesn't support test-only dependencies, plus it's
    filtered out during release generation anyway.
    Modify some of the test files to be able to find ibrowse include files
    regardless of whether they're built via make or via rebar. Also rename all
    non-eunit test functions ending in "_test" so they don't confuse eunit. Also
    had to move the embedded_yaws_id_dir test from eunit to t2 because it fails
    under "rebar eunit" when yaws is a dependency for another app. It fails
    because it calls into the yaws_api:embedded_start_conf function which tries
    to call application:load(yaws), but paths aren't properly set up to allow
    that to work under these testing circumstances.
    Note that not all tests currently run under rebar; building with make and
    then running "make test" results in many more tests being executed. Fixing
    this will come later.
Commits on Apr 1, 2012
  1. @vinoski
Commits on Feb 17, 2012
  1. @vinoski

    clean up rebar build problems with examples/src

    vinoski authored
    Clean up some duplicate options and extra whitespace in
    examples/src/Makefile, and add examples/src to rebar.config to make
    sure it gets built under rebar.
Commits on Dec 21, 2011
  1. @vinoski

    treat src warnings as errors

    vinoski authored
    Fix compilation warning in yaws_dav.erl so that no compilation errors
    exist in the build, allowing us to treat warnings as errors in
    rebar.config and in src/Makefile.
Commits on May 8, 2011
  1. @vinoski

    more build avoidance for rebar build

    vinoski authored
    Modify scripts/rebar-pre-scripts and scripts/local-install to avoid
    rebuilding generated files that haven't changed since the last
    build. Modify scripts/Makefile to account for local-install changes.
    Also apply minor fix to rebar.config indentation.
Something went wrong with that request. Please try again.