Skip to content
This repository was archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Wang committed Mar 24, 2016
1 parent 31deb23 commit 6913207
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.PHONY: rel deps
.PHONY: _build

all: deps compile
BASE_DIR = $(shell pwd)
REBAR = $(BASE_DIR)/rebar3

compile:
rebar compile
all: compile

deps:
rebar get-deps
compile:
@$(REBAR) compile

clean:
rebar clean
@$(REBAR) clean

rel: deps
rebar compile && cd rel && rebar generate
rel:
@$(REBAR) release
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Observer Web
============
Observer Web is Erlang observer web frontend, base code borrowed from observer gui.
Observer Web is erlang observer web frontend, base code borrowed from observer gui.

## Feature
Currently supported:
Expand All @@ -16,7 +16,7 @@ make rel
```
To start the release in the foreground.
```bash
./rel/observerweb/bin/observerweb console
./_build/default/rel/observerweb/bin/observerweb console
```
Open http://127.0.0.1:8080 in your browser

Expand Down

0 comments on commit 6913207

Please sign in to comment.