您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

33 行
852 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_env, [
  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. %% this will merge into basho/rebar/rebar.config eventually
  17. {"win32", "CFLAGS", "/Wall /DWIN32 /D_WINDOWS /D_WIN32 /DWINDOWS"}
  18. ]}.
  19. {eunit_opts, [
  20. verbose,
  21. {report, {
  22. eunit_surefire, [{dir,"."}]
  23. }}
  24. ]}.