summaryrefslogtreecommitdiff
path: root/rebar.config.sample
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config.sample')
-rw-r--r--rebar.config.sample7
1 files changed, 5 insertions, 2 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index aec1b6c..3a62a0a 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -35,8 +35,11 @@
%% == Port Compiler ==
-%% List and wildcard list of files to be compiled. Default is `"c_src/*.c"'
-{port_sources, []}.
+%% List of filenames or wildcards to be compiled. May also contain a tuple
+%% consisting of a regular expression to be applied against the system
+%% architecture and a list of filenames or wildcards to include should the
+%% expression pass. Default is `"c_src/*.c"'
+{port_sources, ["c_src/*.c", {"R14", ["c_src/*.c"]}]}.
%% Port compilation environment variables. See rebar_port_compiler.erl for
%% more info. Default is `[]'