mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-12 04:08:29 +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
|
||||
ident <- lsIdent <$> get
|
||||
sourceLazy lbs $$ storeWrite (CustomSdist ident name version)
|
||||
update $ concat
|
||||
[ "Extracting cabal file for custom tarball: "
|
||||
, toPathPiece name
|
||||
, "-"
|
||||
, toPathPiece version
|
||||
]
|
||||
cabalLBS <- extractCabal lbs name version
|
||||
addFile True name version $ sourceLazy cabalLBS
|
||||
_ -> return ()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user