Skip to content

Commit

Permalink
add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
tonini committed Aug 18, 2015
1 parent e0deed1 commit 2f4f140
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ELIXIR = elixir

VERSION = $(shell git describe --tags --abbrev=0 | sed 's/^v//')

NO_COLOR=\033[0m
INFO_COLOR=\033[2;32m
STAT_COLOR=\033[2;33m

all: test

test: test_server
${MAKE} test_doc

test_server:
@ echo "\n$(INFO_COLOR)Run server tests: $(NO_COLOR)\n"
$(ELIXIR) test/server_test.exs

test_doc:
@ echo "\n$(INFO_COLOR)Run documentation tests: $(NO_COLOR)\n"
$(ELIXIR) test/documentation_test.exs

.PHONY: test test_server test_doc

0 comments on commit 2f4f140

Please sign in to comment.