packages feed

seihou-cli 0.12.0.0 → 0.12.0.1

raw patch · 2 files changed

+8/−6 lines, 2 filesdep ~seihou-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: seihou-core

API changes (from Hackage documentation)

Files

seihou-cli.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: seihou-cli-version: 0.12.0.0+version: 0.12.0.1 synopsis: CLI for Seihou project scaffolding description:   Command-line interface for Seihou, a composable project scaffolding@@ -144,7 +144,7 @@     generic-lens >=2.2 && <3,     lens >=5.2 && <6,     process >=1.6 && <2,-    seihou-core ^>=0.12.0.0,+    seihou-core ^>=0.12.0.1,     streamly-core >=0.3 && <0.5,     temporary >=1.3 && <2,     text >=2.0 && <3,@@ -232,7 +232,7 @@     optparse-applicative >=0.18 && <1,     process >=1.6 && <2,     seihou-cli-internal,-    seihou-core ^>=0.12.0.0,+    seihou-core ^>=0.12.0.1,     temporary >=1.3 && <2,     text >=2.0 && <3,     time >=1.12 && <2,@@ -327,7 +327,7 @@     lens >=5.2 && <6,     process >=1.6 && <2,     seihou-cli-internal,-    seihou-core ^>=0.12.0.0,+    seihou-core ^>=0.12.0.1,     streamly-core >=0.3 && <0.5,     tasty >=1.4 && <2,     tasty-hspec >=1.2 && <2,
test/Seihou/CLI/CheckoutSyncE2ESpec.hs view
@@ -23,6 +23,8 @@ import Test.Tasty import Test.Tasty.Hspec (testSpec) +-- Copy schema definitions only: mori.dhall is project metadata with unrelated+-- remote imports, not a dependency of package.dhall. -- Use the published pin from Git objects in a checkout, or the explicitly -- identified schema staged by the package builder. Imports remain offline. copyPinnedSchema source destination = do@@ -34,10 +36,10 @@       actual <- T.strip <$> TIO.readFile marker       unless (actual == T.pack revision) (fail "packaged schema does not match the executable's published pin")       files <- D.listDirectory source-      forM_ (filter ((== ".dhall") . takeExtension) files) $ \file -> D.copyFile (source </> file) (destination </> file)+      forM_ (filter (\file -> takeExtension file == ".dhall" && file /= "mori.dhall") files) $ \file -> D.copyFile (source </> file) (destination </> file)     else do       files <- lines <$> readProcess "git" ["-C", source, "ls-tree", "--name-only", revision] ""-      forM_ (filter ((== ".dhall") . takeExtension) files) $ \file -> do+      forM_ (filter (\file -> takeExtension file == ".dhall" && file /= "mori.dhall") files) $ \file -> do         content <- readProcess "git" ["-C", source, "show", revision <> ":" <> file] ""         TIO.writeFile (destination </> file) (T.pack content)