mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-25 10:21:55 +01:00
A little more progress
This commit is contained in:
parent
8ae086ae08
commit
d1ce84317d
@ -134,6 +134,12 @@ putUploadStackageR = do
|
|||||||
, Just (name, version) <- parseName (fpToText base) -> do
|
, Just (name, version) <- parseName (fpToText base) -> do
|
||||||
ident <- lsIdent <$> get
|
ident <- lsIdent <$> get
|
||||||
sourceLazy lbs $$ storeWrite (CustomSdist ident name version)
|
sourceLazy lbs $$ storeWrite (CustomSdist ident name version)
|
||||||
|
update $ concat
|
||||||
|
[ "Extracting cabal file for custom tarball: "
|
||||||
|
, toPathPiece name
|
||||||
|
, "-"
|
||||||
|
, toPathPiece version
|
||||||
|
]
|
||||||
cabalLBS <- extractCabal lbs name version
|
cabalLBS <- extractCabal lbs name version
|
||||||
addFile True name version $ sourceLazy cabalLBS
|
addFile True name version $ sourceLazy cabalLBS
|
||||||
_ -> return ()
|
_ -> return ()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user