25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
712 B

  1. {deps, [
  2. {proper, ".*", {git, "https://github.com/manopapad/proper.git", "master"}}
  3. ]}.
  4. {port_specs, [{"priv/jiffy.so", ["c_src/*.c"]}]}.
  5. {port_envs, [
  6. %% Link the spidermonkey library
  7. {".*", "CFLAGS", "$CFLAGS -g -Wall"},
  8. %% Make sure to link -lstdc++ on linux or solaris
  9. {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
  10. %% OS X Leopard flags for 64-bit
  11. {"darwin9.*-64$", "CXXFLAGS", "-m64"},
  12. {"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},
  13. %% OS X Snow Leopard flags for 32-bit
  14. {"darwin10.*-32$", "CXXFLAGS", "-m32"},
  15. {"darwin10.*-32$", "LDFLAGS", "-arch i386"}
  16. ]}.
  17. {eunit_opts, [
  18. verbose,
  19. {report, {
  20. eunit_surefire, [{dir,"."}]
  21. }}
  22. ]}.