Skip to content

Commit

Permalink
Merge pull request #46 from deadtrickster/os_specific_post_hook
Browse files Browse the repository at this point in the history
make set-edoc-hidden call in post compile hook nix specific
  • Loading branch information
deadtrickster committed Nov 3, 2016
2 parents 4414dec + 2f10972 commit 3b0f91f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rebar.config
Expand Up @@ -5,7 +5,8 @@
{provider_hooks, [{pre, [{compile, {protobuf, compile}}]},
{post, [{clean, {protobuf, clean}}]}]}.
%% Awesomely bad hack to ensure prometheus_model is hidden from docs.
{post_hooks, [{compile, "sh bin/set-edoc-hidden src/model/prometheus_model.erl"}]}.
{post_hooks, [{"(linux|darwin|solaris|freebsd|netbsd|openbsd)",
compile, "sh bin/set-edoc-hidden src/model/prometheus_model.erl"}]}.
{gpb_opts, [{i, "src/model"},
{o_erl, "src/model"},
{o_hrl, "include"},
Expand Down

0 comments on commit 3b0f91f

Please sign in to comment.