Skip to content
Snippets Groups Projects
Unverified Commit ac1fc0f0 authored by Mikhail Glushenkov's avatar Mikhail Glushenkov
Browse files

Small refactoring.

parent cff7a615
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,9 @@ mkBuildInfo
-> Json
mkBuildInfo pkg_descr lbi _flags targetsToBuild = info
where
componentsToBuild = map (\target -> (componentLocalName $ targetCLBI target,targetCLBI target)) targetsToBuild
targetToNameAndLBI target =
(componentLocalName $ targetCLBI target, targetCLBI target)
componentsToBuild = map targetToNameAndLBI targetsToBuild
(.=) :: String -> Json -> (String, Json)
k .= v = (k, v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment