Packages

Rexbug is a thin Elixir wrapper for :redbug production-friendly Erlang tracing debugger. It tries to preserve :redbug's simple and intuitive interface while making it more convenient to use by Elixir developers.

Current section

Files

Jump to
rexbug Makefile
Raw

Makefile

SHELL := /bin/bash
export TIMESTAMP=$(shell date +"%s")
export pwd=$(shell pwd)
.PHONY: all
all: install check
.PHONY: install
install:
/usr/local/bin/rtx install
mix deps.get
.PHONY: check
check:
mix test
mix format --check-formatted
mix coveralls.html --exclude integration --include coveralls_safe
# ignore refactoring opportunities (exit code 8)
mix credo --all --verbose || exit $$(( $$? & ~8 ))
mix docs
.PHONY: coveralls.html
coveralls.html:
mix coveralls.html --exclude integration --include coveralls_safe
.PHONY: clean
clean:
mix clean
mix deps.clean --all
.PHONY: recompile
recompile: clean
mix deps.get
mix compile