Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 8d13b7447c
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 44 lines (30 sloc) 0.69 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
ERL ?= erl
ERLC ?= erlc
APP := couchbeam

.PHONY: deps doc

all: deps compile

compile:
@./rebar compile

deps:
@./rebar get-deps

doc:
@mkdir -p doc/api
@$(ERL) -noshell -run edoc_run application '$(APP)' '"."' '[{preprocess, true},{includes, ["."]}, {dir, "./doc/api"}]'


test: all
@$(ERLC) -o t/ t/etap.erl
prove t/*.t

verbose-test: compile
@$(ERLC) -o t/ t/etap.erl
prove -v t/*.t

cover: all
COVER=1 prove t/*.t
@$(ERL) -detached -noshell -eval 'etap_report:create()' -s init stop

clean:
@./rebar clean
@rm -f t/*.beam
@rm -rf doc/api

distclean: clean
@./rebar delete-deps
@rm -rf deps

dialyzer: compile
@dialyzer -Wno_return -c ebin

Something went wrong with that request. Please try again.