Add missing test cleanups #40
2 changed files with 3 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -8,6 +8,7 @@ ifeq ($(REBAR),)
|
||||||
REBAR = $(BASE_DIR)/rebar
|
REBAR = $(BASE_DIR)/rebar
|
||||||
endif
|
endif
|
||||||
OVERLAY_VARS ?=
|
OVERLAY_VARS ?=
|
||||||
|
EUNIT_OPTS = -v
|
||||||
|
|
||||||
.PHONY: rel deps package pkgclean edoc
|
.PHONY: rel deps package pkgclean edoc
|
||||||
|
|
||||||
|
|
3
tools.mk
3
tools.mk
|
@ -27,6 +27,7 @@
|
||||||
REBAR ?= ./rebar
|
REBAR ?= ./rebar
|
||||||
REVISION ?= $(shell git rev-parse --short HEAD)
|
REVISION ?= $(shell git rev-parse --short HEAD)
|
||||||
PROJECT ?= $(shell basename `find src -name "*.app.src"` .app.src)
|
PROJECT ?= $(shell basename `find src -name "*.app.src"` .app.src)
|
||||||
|
EUNIT_OPTS ?=
|
||||||
|
|
||||||
.PHONY: compile-no-deps test docs xref dialyzer-run dialyzer-quick dialyzer \
|
.PHONY: compile-no-deps test docs xref dialyzer-run dialyzer-quick dialyzer \
|
||||||
cleanplt upload-docs
|
cleanplt upload-docs
|
||||||
|
@ -35,7 +36,7 @@ compile-no-deps:
|
||||||
${REBAR} compile skip_deps=true
|
${REBAR} compile skip_deps=true
|
||||||
|
|
||||||
test: compile
|
test: compile
|
||||||
${REBAR} eunit skip_deps=true
|
${REBAR} ${EUNIT_OPTS} eunit skip_deps=true
|
||||||
|
|
||||||
upload-docs: docs
|
upload-docs: docs
|
||||||
@if [ -z "${BUCKET}" -o -z "${PROJECT}" -o -z "${REVISION}" ]; then \
|
@if [ -z "${BUCKET}" -o -z "${PROJECT}" -o -z "${REVISION}" ]; then \
|
||||||
|
|
Loading…
Reference in a new issue