[erlang-questions] Flymake & include_lib

mog <>
Thu May 29 17:08:02 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You could do what i do in my eflymake script
main([File_Name]) ->
    compile:file(File_Name, [{i, "../include"}, warn_obsolete_guard,
warn_unused_import, warn_shadow_vars, warn_export_vars,
strong_validation, report]).

As that will get the include correctly if you build correctly anywhere
you do the
app/
    src/
    include/

format. hope that helps

Mog
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIPsbReq+tARrxhnsRAh9BAJ9Z1XOWppV3Yy6IMSPXX79xTAaj5gCeN/Kh
1FCCp6kHFP120fTs4N8Nm8I=
=Z3fx
-----END PGP SIGNATURE-----




More information about the erlang-questions mailing list