Current section

Files

Jump to
ltest Makefile
Raw

Makefile

PROJECT = ltest
ROOT_DIR = $(shell pwd)
REBAR_PROFILE ?= dev
LFE = _build/$(REBAR_PROFILE)/lib/lfe/bin/lfe
REBAR3 ?= rebar3

default: compile

include priv/make/code.mk
include priv/make/docs.mk
include priv/make/test.mk

help:
	@echo "ltest Make targets:"
	@echo "  compile       Compile the application"
	@echo "  check-native  Compile, run unfiltered EUnit, and run ltest with and without color"
	@echo "  check         Run the existing Github-source EUnit check"
	@echo "  docs          Run rebar3 ldoc and refresh _build/default/ldoc/current/site (optional DOCS_OUTPUT=FRESH_ROOT)"
	@echo "  publish       Build docs and publish the combined Hex package/docs (requires approval)"
	@echo "  publish-dry-run  Build docs and dry-run the combined Hex package/docs upload"