Denna sida fungerar bättre med Javascript igång.
Startsida
Utforska
Hjälp
Registrera dig
Logga in
SisMaker
/
rebar3
Bevaka
1
Stjärnmärk
0
Förgrening
0
Kod
Ärenden
0
Pull-förfrågningar
0
Projects
0
Släpp
62
Wiki
Aktiviteter
Bläddra i källkod
Add a global config option skip_deps which when present will cause dependencies not to be added to the list of directories to process, useful for ./rebar skip_deps=true eunit so that you don't run the tests of every dependency.
David Reid
15 år sedan
förälder
bf3dfcb34b
incheckning
b85c0b4515
1 ändrade filer
med
7 tillägg
och
1 borttagningar
Delad Vy
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-1
src/rebar_deps.erl
+ 7
- 1
src/rebar_deps.erl
Visa fil
@ -50,7 +50,13 @@ preprocess(Config, _) ->
%
%
Walk
all
the
deps
and
make
sure
they
are
available
on
the
code
path
,
%
%
if
the
application
we
'
re
interested
in
actually
exists
there
.
ok
=
update_deps_code_path
(
Deps
)
,
{
ok
,
Config2
,
[
Dir
|
|
{
Dir
,
_
,
_
,
_
}
<
-
Deps
]
}
;
DepDirs
=
case
rebar_config
:
get_global
(
skip_deps
,
false
)
of
false
-
>
[
Dir
|
|
{
Dir
,
_
,
_
,
_
}
<
-
Deps
]
;
_
Specified
-
>
[
]
end
,
{
ok
,
Config2
,
DepDirs
}
;
{
'EXIT'
,
Reason
}
-
>
?
ABORT
(
"
Error while processing dependencies:
~p
\n
"
,
[
Reason
]
)
end
.
Skriv
Förhandsgranska
Laddar…
Avbryt
Spara