mirror of
https://github.com/Avi-D-coder/implicit-hie.git
synced 2024-11-23 02:06:17 +03:00
Correct bench
This commit is contained in:
parent
e033a562a8
commit
c5b02175f3
@ -32,14 +32,14 @@ cabalComponent :: Name -> Component -> (FilePath, String)
|
||||
cabalComponent n (Comp Lib "" p) = (T.unpack p, T.unpack $ "lib:" <> n)
|
||||
cabalComponent n (Comp Lib cn p) = (T.unpack p, T.unpack $ "lib:" <> n <> ":" <> cn)
|
||||
cabalComponent n (Comp Exe cn p) = (T.unpack p, T.unpack $ n <> ":exe:" <> cn)
|
||||
cabalComponent n (Comp Bench cn p) = (T.unpack p, T.unpack $ n <> ":exe:" <> cn)
|
||||
cabalComponent n (Comp Bench cn p) = (T.unpack p, T.unpack $ n <> ":bench:" <> cn)
|
||||
cabalComponent n (Comp Test cn p) = (T.unpack p, T.unpack $ n <> ":test:" <> cn)
|
||||
|
||||
stackComponent :: Name -> Component -> (FilePath, String)
|
||||
stackComponent n (Comp Lib "" p) = (T.unpack p, T.unpack $ n <> ":lib")
|
||||
stackComponent n (Comp Lib cn p) = (T.unpack p, T.unpack $ n <> ":lib:" <> cn)
|
||||
stackComponent n (Comp Exe cn p) = (T.unpack p, T.unpack $ n <> ":exe:" <> cn)
|
||||
stackComponent n (Comp Bench cn p) = (T.unpack p, T.unpack $ n <> ":exe:" <> cn)
|
||||
stackComponent n (Comp Bench cn p) = (T.unpack p, T.unpack $ n <> ":bench:" <> cn)
|
||||
stackComponent n (Comp Test cn p) = (T.unpack p, T.unpack $ n <> ":test:" <> cn)
|
||||
|
||||
fmtComponent :: (FilePath, String) -> String
|
||||
|
Loading…
Reference in New Issue
Block a user