2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00
waf/playground/erlang/wscript
Przemyslaw Rzepecki 69157c7b68 Udated Erlang support.
This adds a scaner method to track Erlang heders dependencies.
Support for EUnit tests
Support for EDocs
Support for ERL, ERLC, ERLC_FLAGS environment settings.
2017-12-19 22:03:41 +01:00

12 lines
361 B
Python

#! /usr/bin/env python
def configure(conf):
conf.load('erlang')
def build(bld):
bld(source='hello.erl', includes=['inc'])
# This requires EUnit. The Erlangs EUnit header files are available erlang-dev package.
bld(source=['hello_eunit.erl', 'hello.beam'], includes=['inc'], features="eunit")
bld(source=['hello.erl'], includes=['inc'], features="edoc")