mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-12-02 07:54:45 +03:00
080197e9e2
1. Foliage takes as input a complete description of the index, where source distributions and revisions come with a timestamp. This allows us to recreate the entire index in a reproducible way. 2. Added a experimental command to import an index from a Hackage (as downloaded with Cabal). This was originally a testing/development need but there might be different use cases.
9 lines
208 B
Haskell
9 lines
208 B
Haskell
module Foliage.CmdCreateKeys where
|
|
import Foliage.HackageSecurity
|
|
|
|
cmdCreateKeys :: FilePath -> IO ()
|
|
cmdCreateKeys keyPath = do
|
|
putStrLn $ "Creating a new set of keys in " <> keyPath
|
|
createKeys keyPath
|
|
|