mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 09:57:15 +01:00
69157c7b68
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.
12 lines
361 B
Python
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")
|