public
Description: Nitrogen Web Framework for Erlang
Homepage: http://nitrogenproject.com
Clone URL: git://github.com/rklophaus/nitrogen.git
Click here to lend your support to: nitrogen and make a donation at www.pledgie.com !
nitrogen / Makefile
100755 31 lines (26 sloc) 0.494 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
all: compile test
 
compile:
mkdir -p ebin
mkdir -p test/ebin
erl -make
 
clean:
rm -rf ./coverage/*.*
rm -rf ./ebin/*.*
rm -rf ./test/ebin/*.*
 
test: compile
erl -noshell \
-pa ebin \
-pa test/ebin \
-s test_suite test \
-s init stop
 
coverage: compile
git submodule init lib/coverize
git submodule update lib/coverize
make -C lib/coverize
mkdir -p coverage
erl -noshell \
-pa ebin \
-pa test/ebin \
-pa lib/coverize/ebin \
-s eunit_helper run_cover \
-s init stop