瀏覽代碼

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 查看文件


Loading…
取消
儲存