ソースを参照

allows people to use the REBAR environment variable to set rebar path

- replace ./rebar by $(REBAR), default REBAR is ./rebar
- update rebar to the latest
pull/19/head
Benoit Chesneau 13年前
コミット
50082a8c53
2個のファイルの変更5行の追加4行の削除
  1. +5
    -4
      Makefile
  2. バイナリ
      rebar

+ 5
- 4
Makefile ファイルの表示

@ -1,18 +1,19 @@
REBAR?=./rebar
all: build
clean:
./rebar clean
$(REBAR) clean
rm -rf logs
rm -rf .eunit
rm test/*.beam
deps: ./deps/
./rebar get-deps update-deps
$(REBAR) get-deps update-deps
build: deps
./rebar compile
$(REBAR) compile
etap: test/etap.beam test/util.beam
@ -20,7 +21,7 @@ etap: test/etap.beam test/util.beam
eunit:
./rebar eunit skip_deps=true
$(REBAR) eunit skip_deps=true
check: etap eunit

バイナリ
rebar ファイルの表示


読み込み中…
キャンセル
保存