Tweaking the source to be able to compile without cabal. Compile with: ghc -iapp -isrc --make app/pandoc.hs -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wcpp-undef -Wincomplete-uni-patterns -Widentities -Wpartial-fields -Wmissing-signatures -fhide-source-paths -Wmissing-export-lists -hide-package base64-bytestring
Some checks are pending
CI tests / linux (map[cabal:3.2 cabalopts: ghc:8.10.7 testopts:--test-option=--hide-successes --test-option=--ansi-tricks=false]) (push) Waiting to run
CI tests / linux (map[cabal:3.2 cabalopts: ghc:8.8.4 testopts:--test-option=--hide-successes --test-option=--ansi-tricks=false]) (push) Waiting to run
CI tests / linux (map[cabal:3.2 cabalopts:-f-embed_data_files ghc:8.6.5 testopts:--test-option=--hide-successes --test-option=--ansi-tricks=false]) (push) Waiting to run
CI tests / linux (map[cabal:3.4 cabalopts: ghc:9.0.2 testopts:--test-option=--hide-successes --test-option=--ansi-tricks=false]) (push) Waiting to run
CI tests / linux (map[cabal:3.6 cabalopts: ghc:9.2.3 testopts:--test-option=--hide-successes --test-option=--ansi-tricks=false]) (push) Waiting to run
CI tests / windows (push) Waiting to run
CI tests / macos (map[cabal:3.2 ghc:8.8.4]) (push) Waiting to run
CI tests / benchmark (map[cabal:3.2 ghc:8.10.7]) (push) Waiting to run
CI tests / benchmark (map[cabal:3.6 ghc:9.2.2]) (push) Waiting to run
commit-validation / check-commit-msg-length (push) Waiting to run

This commit is contained in:
Tissevert 2025-01-11 12:13:59 +01:00
parent 53325aa2e3
commit 2291a4d49e
5 changed files with 15 additions and 0 deletions

11
src/Paths_pandoc.hs Normal file
View file

@ -0,0 +1,11 @@
module Paths_pandoc
( getDataFileName
, version ) where
import Data.Version (Version(..))
getDataFileName :: String -> IO FilePath
getDataFileName = undefined
version :: Version
version = Version [2, 19, 2] []

View file

@ -7,6 +7,7 @@
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PartialTypeSignatures #-}
{- |
Module : Text.Pandoc.Readers.Odt.ContentReader
Copyright : Copyright (C) 2015 Martin Linnemann

View file

@ -1,3 +1,4 @@
{-# LANGUAGE PartialTypeSignatures #-}
{- |
Module : Text.Pandoc.Readers.Odt.Generic.Fallible
Copyright : Copyright (C) 2015 Martin Linnemann

View file

@ -3,6 +3,7 @@
{-# LANGUAGE GADTs #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE PatternGuards #-}
{-# LANGUAGE PartialTypeSignatures #-}
{- |
Module : Text.Pandoc.Readers.Odt.Generic.XMLConverter
Copyright : Copyright (C) 2015 Martin Linnemann

View file

@ -3,6 +3,7 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PartialTypeSignatures #-}
{- |
Module : Text.Pandoc.Readers.Odt.StyleReader
Copyright : Copyright (C) 2015 Martin Linnemann