Skip to content

Commit 982c788

Browse files
committed
Rename headers directory
1 parent 50a51e9 commit 982c788

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed
File renamed without changes.
File renamed without changes.

lib/fine.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ defmodule Fine do
88

99
@moduledoc readme_docs
1010

11-
@include_dir Path.expand("include")
11+
# Note that include/ is a conventional location for Erlang header
12+
# files (.hrl) and it is copied to _build/. For this reason, we
13+
# pick a different name.
14+
@include_dir Path.expand("c_include")
1215

1316
@doc """
1417
Returns the directory with Fine header files.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ defmodule Fine.MixProject do
4747
[
4848
licenses: ["Apache-2.0"],
4949
links: %{"GitHub" => @github_url},
50-
files: ~w(include lib mix.exs README.md LICENSE CHANGELOG.md)
50+
files: ~w(c_include lib mix.exs README.md LICENSE CHANGELOG.md)
5151
]
5252
end
5353
end

0 commit comments

Comments
 (0)