diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-05 21:10:03 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-05 21:10:03 -0600 |
commit | f791c983c182ab231d2bde11241f22b5a5fbb3b1 (patch) | |
tree | 22f64f176e3940df31dd402998c1581d0ce16bfe | |
parent | f9b73b5d7ac3674b5830f5fc26cf6003ef652d66 (diff) |
update README
-rw-r--r-- | README.md | 26 | ||||
-rw-r--r-- | include/rebar.hrl | 2 |
2 files changed, 9 insertions, 19 deletions
@@ -26,26 +26,21 @@ This is an experimental branch. | clean | Remove project apps beam files | | ct | Run Common Test suites | | do | Higher-order provider to run multiple tasks in sequence | +| eunit | Run eunit tests | | help | Print help for rebar or task | | new | Create new rebar project from templates | | pkgs | List available packages | | release | Build release of project | -| tar | Package release into tarball | | shell | Run shell with project apps in path | +| tar | Package release into tarball | | update | Update package index | | upgrade | Fetch latest version of dep | | version | Print current version of Erlang/OTP and rebar | -The following commands are still in the works. - -| Command | Description | -|----------- |------------ | -| eunit | | - ### Changes * Fetches and builds deps if missing when running any command that relies on them -* Automatically recognizes `apps` and `libs` directory structure +* Automatically recognizes `apps` and `lib` directory structure * `escriptize` requires `escript_top_level_app` set in `rebar.config` * Relx for releases @@ -96,31 +91,26 @@ do(State) -> Building -------- -Information on building and installing [Erlang/OTP](http://www.erlang.org) can -be found [here](https://github.com/erlang/otp/wiki/Installation) ([more -info](https://github.com/erlang/otp/blob/master/INSTALL.md)). +Recommended installation of [Erlang/OTP](http://www.erlang.org) is binary packages from [Erlang Solutoins](https://www.erlang-solutions.com/downloads/download-erlang-otp). For source it is recommended you use [erln8](http://metadave.github.io/erln8/) or [kerl](https://github.com/yrashk/kerl). ### Dependencies -To build rebar you will need a working installation of Erlang R13B03 (or later). +To build rebar you will need a working installation of Erlang R15 (or later). Should you want to clone the rebar repository, you will also require git. #### Downloading -You can download a pre-built binary version of rebar from: +You can download a pre-built binary version of rebar3 based on the last commit from: -https://github.com/rebar/rebar/wiki/rebar +https://s3.amazonaws.com/rebar3/rebar3 #### Building rebar ```sh -$ git clone git://github.com/rebar/rebar.git +$ git clone git://github.com/tsloughter/rebar.git $ cd rebar $ ./bootstrap/bootstrap -Recompile: src/getopt -... -Recompile: src/rebar_utils ==> rebar (compile) Congratulations! You now have a self-contained script called "rebar" in your current working directory. Place this script anywhere in your path diff --git a/include/rebar.hrl b/include/rebar.hrl index 701e8ed..0980600 100644 --- a/include/rebar.hrl +++ b/include/rebar.hrl @@ -13,7 +13,7 @@ -define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))). --define(DEFAULT_LIB_DIRS, ["_checkouts", "apps", "libs", "."]). +-define(DEFAULT_LIB_DIRS, ["_checkouts", "apps", "lib", "."]). -define(DEFAULT_DEPS_DIR, "_deps"). -define(DEFAULT_PLUGINS_DIR, "_plugins"). -define(DEFAULT_TEST_DEPS_DIR, "_tdeps"). |