Procházet zdrojové kódy

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 před 13 roky
rodič
revize
50082a8c53
2 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. +5
    -4
      Makefile
  2. binární
      rebar

+ 5
- 4
Makefile Zobrazit soubor

@ -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

binární
rebar Zobrazit soubor


Načítá se…
Zrušit
Uložit