From e6ee469c4d294d423735ab6d0015fb8ae3e73c1f Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Wed, 14 Nov 2012 23:19:10 +0100 Subject: rebar.config.sample: fix syntax error --- rebar.config.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebar.config.sample') diff --git a/rebar.config.sample b/rebar.config.sample index fac55af..54a9b5a 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -46,7 +46,7 @@ %% architecture as a filter. {port_specs, [{"priv/so_name.so", ["c_src/*.c"]}, {"linux", "priv/hello_linux", ["c_src/hello_linux.c"]}, - {"linux", "priv/hello_linux", ["c_src/*.c"], [{env, []}]}}. + {"linux", "priv/hello_linux", ["c_src/*.c"], [{env, []}]}]}. %% == LFE Compiler == -- cgit v1.1 From 9ac9d935c0dc89506c7b60a21d131372040a1b8c Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Wed, 14 Nov 2012 23:19:42 +0100 Subject: rebar.config.sample: fix raw dep example formatting --- rebar.config.sample | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'rebar.config.sample') diff --git a/rebar.config.sample b/rebar.config.sample index 54a9b5a..ff50f23 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -139,16 +139,19 @@ {application_name, "1.0.*"}, {application_name, "1.0.*", {git, "git://github.com/basho/rebar.git", {branch, "master"}}}, - -%% Dependencies can be marked as 'raw'. Rebar does not require such dependencies -%% to have a standard Erlang/OTP layout which assumes the presence of either -%% "src/dependency_name.app.src" or "ebin/dependency_name.app" files. -%% -%% 'raw' dependencies can still contain 'rebar.config' and even can have the -%% proper OTP directory layout, but they won't be compiled. -%% -%% Only a subset of rebar commands will be executed on the 'raw' subdirectories: -%% get-deps, update-deps, check-deps, list-deps and delete-deps. + %% Dependencies can be marked as 'raw'. Rebar does not require + %% such dependencies to have a standard Erlang/OTP layout + %% which assumes the presence of either + %% "src/dependency_name.app.src" or "ebin/dependency_name.app" + %% files. + %% + %% 'raw' dependencies can still contain 'rebar.config' and + %% even can have the proper OTP directory layout, but they + %% won't be compiled. + %% + %% Only a subset of rebar commands will be executed on the + %% 'raw' subdirectories: get-deps, update-deps, check-deps, + %% list-deps and delete-deps. {application_name, "", {git, "git://github.com/basho/rebar.git", {branch, "master"}}, [raw]}]}. -- cgit v1.1 From e593a90a3ce79b1a4e8e60e5a6fee90f9ea66920 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Thu, 15 Nov 2012 01:28:08 +0100 Subject: rebar.config.sample: fix erl_opts example --- rebar.config.sample | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rebar.config.sample') diff --git a/rebar.config.sample b/rebar.config.sample index ff50f23..8e4b51e 100644 --- a/rebar.config.sample +++ b/rebar.config.sample @@ -16,7 +16,9 @@ {erl_first_files, ["mymib1", "mymib2"]}. %% Erlang compiler options -{erl_opts, [no_debug_info, {i, "myinclude"}, {src_dirs, ["src1", "src2"]}, +{erl_opts, [no_debug_info, + {i, "myinclude"}, + {src_dirs, ["src", "src2", "src3"]}, {platform_define, "(linux|solaris|freebsd|darwin)", 'HAVE_SENDFILE'}, {platform_define, "(linux|freebsd)", 'BACKLOG', 128}, -- cgit v1.1