Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Rebar to version 2.0

  • Loading branch information...
commit bed955f9fc4588b789bc8de6373b9328882d7f37 1 parent 704151e
@vmx vmx authored
Showing with 12 additions and 12 deletions.
  1. BIN  rebar
  2. +6 −6 rebar.config
  3. +6 −6 rebar_makecheck.config
View
BIN  rebar
Binary file not shown
View
12 rebar.config
@@ -1,11 +1,11 @@
{erl_opts, [debug_info, warn_unused_vars, warn_shadow_vars, warn_unused_import]}.
-{port_sources, ["c_src/*.c"]}.
-
-{so_name, "erlgeom.so"}.
+{port_specs, [
+ {"priv/erlgeom.so", ["c_src/*.c"]}
+]}.
-{port_envs, [
+{port_env, [
+ %{"(linux|solaris|darwin)", "CFLAGS", "$CFLAGS -g -Wall"},
% Link the GEOS C binding
- %{".*", "CFLAGS", "$CFLAGS -g -Wall"},
- {".*", "LDFLAGS", "$LDFLAGS -lgeos_c"}
+ {"(linux|solaris|darwin)", "LDFLAGS", "$LDFLAGS -lgeos_c"}
]}.
View
12 rebar_makecheck.config
@@ -1,12 +1,12 @@
{erl_opts, [debug_info, warn_unused_vars, warn_shadow_vars, warn_unused_import,
{d, makecheck}]}.
-{port_sources, ["c_src/*.c"]}.
-
-{so_name, "erlgeom.so"}.
+{port_specs, [
+ {"priv/erlgeom.so", ["c_src/*.c"]}
+]}.
-{port_envs, [
+{port_env, [
+ %{"(linux|solaris|darwin)", "CFLAGS", "$CFLAGS -g -Wall"},
% Link the GEOS C binding
- %{".*", "CFLAGS", "$CFLAGS -g -Wall"},
- {".*", "LDFLAGS", "$LDFLAGS -lgeos_c"}
+ {"(linux|solaris|darwin)", "LDFLAGS", "$LDFLAGS -lgeos_c"}
]}.
Please sign in to comment.
Something went wrong with that request. Please try again.