Permalink
Browse files

Update rebar version, remove Makefile and use only rebar.

  • Loading branch information...
1 parent 1c16ca0 commit 9d65075b98f16931986df98f34a159af24ca54af @mazenharake committed Feb 25, 2012
Showing with 15 additions and 17 deletions.
  1. +0 −15 Makefile
  2. +13 −1 README.md
  3. BIN rebar
  4. +2 −1 rebar.config
View
@@ -1,15 +0,0 @@
-all: deps compile
-
-deps:
- @./rebar get-deps
-
-compile:
- @./rebar compile
-
-test: force
- @./rebar eunit
-
-clean:
- @./rebar clean
-
-force: ;
View
@@ -1,8 +1,20 @@
# entop
A top-like Erlang node monitoring tool
+
## Introduction
-Entop is a tool which shows information about a remote Erlang node in a way which is similar to unix 'top'. It needs cecho verion 0.3.0 or higher (http://www.github.com/mazenharake/cecho) to run.
+Entop is a tool which shows information about a remote Erlang node in a way which is similar to unix 'top'.
+
+For entop to run it needs `cecho 0.3.0` or higher for pre-R15 or `cecho 0.4.0` or higher for R15 and above
+(http://www.github.com/mazenharake/cecho).
+
+## Compile
+To clean/compile run
+
+ ./rebar clean
+ ./rebar compile
+
+NOTE: If you have problems with dependencies to `cecho` then create a symlink to cecho in `deps/` (if you already have cecho somewhere) or run `./rebar get-deps` to download the latest version. Don't forget to recompile if you get the dependencies through rebar.
## Usage
To run entop make sure you have Erlang installed and that the cecho library (http://www.github.com/mazenharake/cecho) is available in your Erlang code path. The start script assumes that you run it inside the entop application root directory, if you don't want that then change the paths in the scripts accordingly or just make sure you have the ebin/ directory for entop in your Erlang code path. Look at the start script for more details.
View
BIN rebar
Binary file not shown.
View
@@ -1,4 +1,5 @@
{erl_opts, [fail_on_warning, debug_info]}.
{deps_dir, "deps"}.
{clean_files, ["ebin/*.beam"]}.
-{deps, [{cecho, ".*", {git, "https://github.com/mazenharake/cecho.git", "HEAD"}}]}.
+{deps, [{cecho, ".*", {git, "https://github.com/mazenharake/cecho.git", "HEAD"}}]}.
+{escript_name, "rebar_tmp"}.

0 comments on commit 9d65075

Please sign in to comment.