Initial Commit
This commit is contained in:
19
lfe/leap/Makefile
Normal file
19
lfe/leap/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
ERL = $(shell which erl)
|
||||
LFETOOL = $(shell which lfetool)
|
||||
REBAR = $(shell which rebar)
|
||||
|
||||
ifeq ($(ERL),)
|
||||
$(error Can't find Erlang executable 'erl')
|
||||
else ifeq ($(LFETOOL),)
|
||||
$(error Can't find lfetool)
|
||||
else ifeq ($(REBAR),)
|
||||
$(error Can't find rebar)
|
||||
endif
|
||||
|
||||
get-deps: ; $(REBAR) get-deps compile
|
||||
|
||||
clean: ; rebar clean
|
||||
|
||||
compile: ; $(REBAR) compile
|
||||
|
||||
test: compile; $(LFETOOL) tests unit
|
Reference in New Issue
Block a user