ats-pkg 2.2.0.6 → 2.2.0.7
raw patch · 4 files changed
+5/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ats-pkg.cabal +1/−1
- src/Language/ATS/Package/Build.hs +3/−2
- src/Language/ATS/Package/Type.hs +0/−4
- stack.yaml +1/−1
ats-pkg.cabal view
@@ -1,5 +1,5 @@ name: ats-pkg-version: 2.2.0.6+version: 2.2.0.7 synopsis: Package manager for ATS description: A collection of scripts to make building ATS projects easy. homepage: https://github.com/vmchale/atspkg#readme
src/Language/ATS/Package/Build.hs view
@@ -198,13 +198,14 @@ where g (Bin s t ls hs' atg gc' cSrc) = atsBin- (BinaryTarget cc' (TL.unpack <$> cf) (ATSToolConfig v v') gc' (TL.unpack <$> ls) (TL.unpack s) hs' (both TL.unpack . asTuple <$> atg) (TL.unpack t) (TL.unpack <$> cSrc))+ (BinaryTarget cc' (TL.unpack <$> cf) (ATSToolConfig v v' False) gc' (TL.unpack <$> ls) (TL.unpack s) hs' (both TL.unpack . asTuple <$> atg) (TL.unpack t) (TL.unpack <$> cSrc)) cDepsRules = unless (null as) $ do let cedar = TL.unpack cdir atsSourceDirs = nub (takeDirectory . TL.unpack <$> as) targets = fmap (((cedar <> "/") <>) . (-<.> "c") . takeBaseName . TL.unpack) as want targets- mapM_ (cgen $ ATSToolConfig v v') atsSourceDirs+ hasPF <- patsFilter+ mapM_ (cgen $ ATSToolConfig v v' hasPF) atsSourceDirs cc' = maybe (TL.unpack ccLocal) (<> "-gcc") tgt
src/Language/ATS/Package/Type.hs view
@@ -51,11 +51,7 @@ , ats :: Text } deriving (Eq, Show, Generic, Interpret, Binary) -deriving instance Show ForeignCabal-deriving instance Eq ForeignCabal-deriving instance Generic ForeignCabal deriving instance Interpret ForeignCabal-deriving instance Binary ForeignCabal data Bin = Bin { src :: Text -- ^ Source file (should end with @.dats@) , target :: Text -- ^ Binary to be built
stack.yaml view
@@ -4,7 +4,7 @@ - '.' extra-deps: - shake-ext-2.3.0.0- - shake-ats-1.3.0.0+ - shake-ats-1.3.0.1 - composition-prelude-1.1.0.2 - language-ats-0.1.1.18 - cli-setup-0.2.0.1