diff options
author | Francisco Rojas <frojas@groupon.com> | 2016-03-17 20:07:36 -0700 |
---|---|---|
committer | Francisco Rojas <frojas@groupon.com> | 2016-03-17 20:07:36 -0700 |
commit | 8b1193e4af7a43abe84a108435b9a2c52e475f8f (patch) | |
tree | 9d2bc81a0d723c238ad9255b7b05dceb064eb59c | |
parent | 6c9bc2c1d5e7041f7e81cc470b6de78220ea9eb1 (diff) |
Add spec for global_cache_dir
-rw-r--r-- | src/rebar_dir.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_dir.erl b/src/rebar_dir.erl index 840d1f9..df05cdb 100644 --- a/src/rebar_dir.erl +++ b/src/rebar_dir.erl @@ -92,6 +92,7 @@ global_config() -> Home = home_dir(), filename:join([Home, ".config", "rebar3", "rebar.config"]). +-spec global_cache_dir(rebar_dict()) -> file:filename_all(). global_cache_dir(Opts) -> RebarCacheDir = case os:getenv("REBAR_CACHE_DIR") of false -> |