Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (50 sloc) 1.54 KB
# Copyright 2010-2011 Manolis Papadakis <manopapad@gmail.com>,
# Eirini Arvaniti <eirinibob@gmail.com>
# and Kostis Sagonas <kostis@cs.ntua.gr>
#
# This file is part of PropEr.
#
# PropEr is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# PropEr is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with PropEr. If not, see <http://www.gnu.org/licenses/>.
# Author: Manolis Papadakis
# Description: Instructions for make
.PHONY: default all compile dialyze check_scripts tests doc clean distclean rebuild retest
default: compile
all: compile doc
compile:
./rebar compile
dialyze: compile
./rebar dialyze
check_scripts:
@> make_doc.erl
@echo "-module(make_doc)." >> make_doc.erl
@echo "-export([main/1])." >> make_doc.erl
@echo -n "%" >> make_doc.erl
@cat make_doc >> make_doc.erl
erlc +debug_info make_doc.erl; true
dialyzer -Wunmatched_returns make_doc.beam; true
@rm -f make_doc.erl make_doc.beam
tests:
./rebar eunit
doc:
./make_doc
clean:
./clean_temp.sh
distclean: clean
./rebar clean
rebuild:
./rebar clean
./rebar compile
retest:
rm -rf .eunit
./rebar eunit
Something went wrong with that request. Please try again.