Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 63 lines (47 sloc) 1.541 kB
7cc3b7a @kostis Avoid rm failing when file does not exist
kostis authored
1 # Copyright 2010-2012 Manolis Papadakis <manopapad@gmail.com>,
6d826f9 @manopapad Fix copyright notices
authored
2 # Eirini Arvaniti <eirinibob@gmail.com>
3 # and Kostis Sagonas <kostis@cs.ntua.gr>
4 #
5 # This file is part of PropEr.
6 #
7 # PropEr is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # PropEr is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with PropEr. If not, see <http://www.gnu.org/licenses/>.
19
b36c594 @manopapad Remove e-mail addresses from EDoc output
authored
20 # Author: Manolis Papadakis
6d826f9 @manopapad Fix copyright notices
authored
21 # Description: Instructions for make
22
ad76dc0 @kostis The new version of rebar does not support dialyzer
kostis authored
23 .PHONY: default all compile dialyzer check_escripts tests doc clean distclean rebuild retest
7ae577b @manopapad adding files
authored
24
dcf5573 @thomasc Use sfmt-erlang for random number generation
thomasc authored
25 default: get-deps compile
7ae577b @manopapad adding files
authored
26
0c9af8e @manopapad major refactoring, README not yet updated
authored
27 all: compile doc
713bf64 @manopapad restructured project tree, updated relevant files
authored
28
7913cd4 @goj Don't recompile the PropEr over and over
goj authored
29 include/compile_flags.hrl:
30 ./write_compile_flags $@
31
dcf5573 @thomasc Use sfmt-erlang for random number generation
thomasc authored
32 get-deps:
33 ./rebar get-deps
34
6ac7648 Use rebar pre_hooks option.
Ryosuke Nakai authored
35 compile:
690aad4 @manopapad Switch from make to rebar
authored
36 ./rebar compile
7ae577b @manopapad adding files
authored
37
ad76dc0 @kostis The new version of rebar does not support dialyzer
kostis authored
38 dialyzer: compile
80c2c73 @kostis Add options that speed up 'make dialyzer'
kostis authored
39 dialyzer -n -nn -Wunmatched_returns ebin deps/*/ebin
a13d534 @kostis Rename target 'check' to 'dialyze'
kostis authored
40
b831cbd @manopapad Set compilation flags automatically according to OTP version
authored
41 check_escripts:
42 ./check_escripts.sh make_doc write_compile_flags
43
44 tests: compile
690aad4 @manopapad Switch from make to rebar
authored
45 ./rebar eunit
b8ddef7 @kostis Added .app.src file.
kostis authored
46
690aad4 @manopapad Switch from make to rebar
authored
47 doc:
da5e6b3 @manopapad Hacked support for documentation tags @alias and @private_type
authored
48 ./make_doc
7ae577b @manopapad adding files
authored
49
50 clean:
690aad4 @manopapad Switch from make to rebar
authored
51 ./clean_temp.sh
7ae577b @manopapad adding files
authored
52
53 distclean: clean
7cc3b7a @kostis Avoid rm failing when file does not exist
kostis authored
54 rm -f include/compile_flags.hrl
690aad4 @manopapad Switch from make to rebar
authored
55 ./rebar clean
7ae577b @manopapad adding files
authored
56
b831cbd @manopapad Set compilation flags automatically according to OTP version
authored
57 rebuild: distclean include/compile_flags.hrl
690aad4 @manopapad Switch from make to rebar
authored
58 ./rebar compile
7ae577b @manopapad adding files
authored
59
b831cbd @manopapad Set compilation flags automatically according to OTP version
authored
60 retest: compile
690aad4 @manopapad Switch from make to rebar
authored
61 rm -rf .eunit
62 ./rebar eunit
Something went wrong with that request. Please try again.