wscript (361B)
1 #! /usr/bin/env python 2 3 def configure(conf): 4 conf.load('erlang') 5 6 def build(bld): 7 bld(source='hello.erl', includes=['inc']) 8 9 # This requires EUnit. The Erlangs EUnit header files are available erlang-dev package. 10 bld(source=['hello_eunit.erl', 'hello.beam'], includes=['inc'], features="eunit") 11 bld(source=['hello.erl'], includes=['inc'], features="edoc")