packages feed

github-workflow-commands-0.0.0.0: github-workflow-commands.cabal

cabal-version:      1.18
name:               github-workflow-commands
version:            0.0.0.0
license:            MIT
license-file:       LICENSE
maintainer:         Freckle Education
homepage:           https://github.com/freckle/github-workflow-commands#readme
bug-reports:        https://github.com/freckle/github-workflow-commands/issues
synopsis:           GitHub Actions workflow commands
description:
    For printing workflow commands in GitHub Actions.
    .
    See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions

category:           GitHub
build-type:         Simple
extra-source-files: package.yaml
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/freckle/github-workflow-commands

library
    exposed-modules:
        GitHub.Workflow.Command.Annotation
        GitHub.Workflow.Command.Annotation.Commands.Debug
        GitHub.Workflow.Command.Annotation.Commands.Error
        GitHub.Workflow.Command.Annotation.Commands.Generic
        GitHub.Workflow.Command.Annotation.Commands.Notice
        GitHub.Workflow.Command.Annotation.Commands.Warning
        GitHub.Workflow.Command.Annotation.File
        GitHub.Workflow.Command.Annotation.Location
        GitHub.Workflow.Command.Annotation.Position
        GitHub.Workflow.Command.Annotation.Position.Column
        GitHub.Workflow.Command.Annotation.Position.Columns
        GitHub.Workflow.Command.Annotation.Position.Extent
        GitHub.Workflow.Command.Annotation.Position.Line
        GitHub.Workflow.Command.Annotation.Properties
        GitHub.Workflow.Command.Syntax
        GitHub.Workflow.Command.Syntax.Command
        GitHub.Workflow.Command.Syntax.Key
        GitHub.Workflow.Command.Syntax.Message
        GitHub.Workflow.Command.Syntax.Name
        GitHub.Workflow.Command.Syntax.Properties
        GitHub.Workflow.Command.Syntax.ToByteString
        GitHub.Workflow.Command.Syntax.Value

    hs-source-dirs:     library
    other-modules:      Paths_github_workflow_commands
    default-language:   GHC2021
    default-extensions:
        AllowAmbiguousTypes BlockArguments DataKinds DeriveAnyClass
        DerivingStrategies DerivingVia DuplicateRecordFields GADTs
        LambdaCase NoFieldSelectors NoImplicitPrelude
        NoMonomorphismRestriction NoPostfixOperators OverloadedRecordDot
        OverloadedStrings QuasiQuotes TemplateHaskell TypeFamilies

    ghc-options:
        -fwrite-ide-info -Weverything -Wno-all-missed-specialisations
        -Wno-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-local-signatures
        -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe

    build-depends:
        base >=4.16.4.0 && <5,
        bytestring >=0.11.4.0,
        containers >=0.6.5.1,
        lens >=5.1.1,
        text >=1.2.5.0

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-poly-kind-signatures -Wno-missing-role-annotations

    if impl(ghc >=9.2)
        ghc-options: -Wno-missing-kind-signatures

    if impl(ghc >=8.10)
        ghc-options:
            -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module

test-suite readme
    type:               exitcode-stdio-1.0
    main-is:            README.lhs
    other-modules:      Paths_github_workflow_commands
    default-language:   GHC2021
    default-extensions:
        AllowAmbiguousTypes BlockArguments DataKinds DeriveAnyClass
        DerivingStrategies DerivingVia DuplicateRecordFields GADTs
        LambdaCase NoFieldSelectors NoImplicitPrelude
        NoMonomorphismRestriction NoPostfixOperators OverloadedRecordDot
        OverloadedStrings QuasiQuotes TemplateHaskell TypeFamilies

    ghc-options:
        -fwrite-ide-info -Weverything -Wno-all-missed-specialisations
        -Wno-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-local-signatures
        -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe -pgmL
        markdown-unlit

    build-depends:
        base >=4.16.4.0 && <5,
        github-workflow-commands,
        lens >=5.1.1,
        markdown-unlit >=0.5.1

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-poly-kind-signatures -Wno-missing-role-annotations

    if impl(ghc >=9.2)
        ghc-options: -Wno-missing-kind-signatures

    if impl(ghc >=8.10)
        ghc-options:
            -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module

test-suite spec
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    hs-source-dirs:     tests
    other-modules:
        GitHub.Workflow.Command.AnnotationSpec
        GitHub.Workflow.Command.SyntaxSpec
        SpecHook
        Paths_github_workflow_commands

    default-language:   GHC2021
    default-extensions:
        AllowAmbiguousTypes BlockArguments DataKinds DeriveAnyClass
        DerivingStrategies DerivingVia DuplicateRecordFields GADTs
        LambdaCase NoFieldSelectors NoImplicitPrelude
        NoMonomorphismRestriction NoPostfixOperators OverloadedRecordDot
        OverloadedStrings QuasiQuotes TemplateHaskell TypeFamilies

    ghc-options:
        -fwrite-ide-info -Weverything -Wno-all-missed-specialisations
        -Wno-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-local-signatures
        -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe -threaded
        -rtsopts -with-rtsopts=-N

    build-depends:
        base >=4.16.4.0 && <5,
        github-workflow-commands,
        hspec >=2.11.9,
        hspec-junit-formatter >=1.1.2.1,
        lens >=5.1.1

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-poly-kind-signatures -Wno-missing-role-annotations

    if impl(ghc >=9.2)
        ghc-options: -Wno-missing-kind-signatures

    if impl(ghc >=8.10)
        ghc-options:
            -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module