This repository was archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill Wang
committed
Mar 24, 2016
1 parent
31deb23
commit 6913207
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters