mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
Factor justEvaluating into evaluateProject.
This commit is contained in:
parent
2dffafa12f
commit
d6d16c1c0d
@ -58,11 +58,11 @@ callGraphProject' session proxy parser path = fmap (first show) . runTask sessio
|
||||
callGraphProject proxy parser paths = withOptions defaultOptions $ \ config logger statter ->
|
||||
callGraphProject' (TaskSession config "" False logger statter) proxy parser paths
|
||||
|
||||
evalRubyProject = justEvaluating <=< evaluateProject (Proxy @'Language.Ruby) rubyParser
|
||||
evalPythonProject = justEvaluating <=< evaluateProject (Proxy @'Language.Python) pythonParser
|
||||
evalRubyProject = evaluateProject (Proxy @'Language.Ruby) rubyParser
|
||||
evalPythonProject = evaluateProject (Proxy @'Language.Python) pythonParser
|
||||
|
||||
evaluateProject proxy parser path = withOptions defaultOptions $ \ config logger statter ->
|
||||
evaluateProject' (TaskSession config "" False logger statter) proxy parser [Path.toString path]
|
||||
justEvaluating =<< evaluateProject' (TaskSession config "" False logger statter) proxy parser [Path.toString path]
|
||||
|
||||
pyEval :: Path.RelFile -> Benchmarkable
|
||||
pyEval p = nfIO $ () <$ evalPythonProject (Path.relDir "bench/bench-fixtures/python" </> p)
|
||||
|
Loading…
Reference in New Issue
Block a user