Compare commits
60 Commits
Author | SHA256 | Date | |
---|---|---|---|
21e7ead830 | |||
b6d50a79d4 | |||
610bcd5e8d | |||
997909a008 | |||
cb46f855cb | |||
b9454c3ef8 | |||
|
bca5ea1a65 | ||
|
56b5918143 | ||
923b05e672 | |||
c6a43ed887 | |||
c1d1d0e2f1 | |||
2b810d1147 | |||
b9c19a6478 | |||
1c413b115d | |||
f555a9f2df | |||
bb870f1204 | |||
7e01a999db | |||
587506cc91 | |||
9438ad84b3 | |||
ff722f4eda | |||
0806c562bc | |||
3806e91d5e | |||
2cf9cdd425 | |||
7228facfd7 | |||
6dc8c1a63d | |||
2d40bce452 | |||
07fff1d573 | |||
dcedd60d00 | |||
18fedff715 | |||
78dcbbe0b7 | |||
4b513703d4 | |||
aaf9e3719d | |||
3eb049450b | |||
de6dacc274 | |||
4096f4a67a | |||
9042190a83 | |||
1dbf394e79 | |||
d6b177ac8d | |||
660e595588 | |||
80d5006d64 | |||
db08d0daba | |||
b6265a4b10 | |||
939040c5a9 | |||
3fafcbb79f | |||
04fff14f57 | |||
d6cec539f7 | |||
c02a4ec032 | |||
811ba6ccac | |||
de4f990408 | |||
9dfa991a5f | |||
64711bc011 | |||
38aa1e9231 | |||
c97684e631 | |||
fe5ce4426d | |||
99fd115717 | |||
59a1bbe2df | |||
fa2aab99c9 | |||
2bd6d17a0a | |||
225f053628 | |||
6355383a39 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fe805629b548884e9b2f59492621823fd928d8a5b4125b6cfd9571edaebf341
|
||||
size 551001
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0199cc28308e492667c4c2fa96092a9b71f52238b6fc04638c634e58b16d77f0
|
||||
size 551125
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:714dc748a20d47f89f6098e3e38d78dd71fc69aa3044dc474a3a976ff7c1c23e
|
||||
size 551442
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:33523bbd8c38f72c6d606e02d11b93254171f801be4f2a0cb4d34d6626426400
|
||||
size 549947
|
175
citeproc.cabal
175
citeproc.cabal
@@ -1,175 +0,0 @@
|
||||
cabal-version: 2.2
|
||||
name: citeproc
|
||||
version: 0.8.1.1
|
||||
x-revision: 1
|
||||
synopsis: Generates citations and bibliography from CSL styles.
|
||||
description: citeproc parses CSL style files and uses them to
|
||||
generate a list of formatted citations and bibliography
|
||||
entries. For more information about CSL, see
|
||||
<https://citationstyles.org/>.
|
||||
license: BSD-2-Clause
|
||||
license-file: LICENSE
|
||||
author: John MacFarlane
|
||||
maintainer: jgm@berkeley.edu
|
||||
copyright: 2020 John MacFarlane
|
||||
category: Text
|
||||
build-type: Simple
|
||||
extra-doc-files: README.md
|
||||
, CHANGELOG.md
|
||||
extra-source-files: stack.yaml
|
||||
cabal.project
|
||||
locales/*.xml
|
||||
locales/locales.json
|
||||
man/citeproc.1.md
|
||||
man/citeproc.1
|
||||
test/NOTES.md
|
||||
test/csl/*.txt
|
||||
test/extra/*.txt
|
||||
test/overrides/*.txt
|
||||
tested-with: GHC == 8.0.2, GHC == 8.2.2,
|
||||
GHC == 8.4.4, GHC == 8.6.5,
|
||||
GHC == 8.8.4, GHC == 8.10.7,
|
||||
GHC == 9.0.2, GHC == 9.2.2
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/jgm/citeproc.git
|
||||
|
||||
flag icu
|
||||
description: Use Haskell bindings to the ICU library
|
||||
default: False
|
||||
|
||||
flag executable
|
||||
description: Build citeproc executable
|
||||
default: False
|
||||
|
||||
common hie-options
|
||||
if impl(ghc >= 8.8)
|
||||
ghc-options: -fwrite-ide-info -hiedir=.hie
|
||||
|
||||
library
|
||||
import: hie-options
|
||||
hs-source-dirs: src
|
||||
exposed-modules: Citeproc
|
||||
Citeproc.Types
|
||||
Citeproc.Locale
|
||||
Citeproc.Style
|
||||
Citeproc.CslJson
|
||||
Citeproc.Pandoc
|
||||
Citeproc.Eval
|
||||
Citeproc.CaseTransform
|
||||
other-modules: Citeproc.Element
|
||||
Citeproc.Data
|
||||
Citeproc.Unicode
|
||||
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, safe
|
||||
, bytestring
|
||||
, text
|
||||
, containers >= 0.6.0.1 && < 0.8
|
||||
, transformers >= 0.5.6 && < 0.7
|
||||
, case-insensitive >= 1.2 && < 1.3
|
||||
, vector
|
||||
, scientific
|
||||
, uniplate
|
||||
, xml-conduit
|
||||
, attoparsec
|
||||
, data-default >= 0.5.2
|
||||
, aeson
|
||||
, filepath
|
||||
, file-embed
|
||||
, pandoc-types >= 1.22 && < 1.24
|
||||
, unicode-collation >= 0.1.3 && < 0.2
|
||||
-- , pretty-show
|
||||
if flag(icu)
|
||||
build-depends: text-icu >= 0.7.1.0
|
||||
|
||||
ghc-options: -Wall
|
||||
-Wincomplete-record-updates
|
||||
-Wcompat
|
||||
-Widentities
|
||||
-Wredundant-constraints
|
||||
|
||||
if impl(ghc >= 8.2)
|
||||
ghc-options: -Wcpp-undef
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -Wincomplete-uni-patterns
|
||||
-Widentities
|
||||
-Werror=missing-home-modules
|
||||
-fhide-source-paths
|
||||
|
||||
if impl(ghc < 8.8)
|
||||
build-depends: base-compat >= 0.10
|
||||
hs-source-dirs: prelude
|
||||
other-modules: Prelude
|
||||
|
||||
default-language: Haskell2010
|
||||
|
||||
executable citeproc
|
||||
import: hie-options
|
||||
hs-source-dirs: app
|
||||
main-is: Main.hs
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, citeproc
|
||||
, bytestring
|
||||
, text
|
||||
, aeson
|
||||
, aeson-pretty
|
||||
|
||||
ghc-options: -Wall
|
||||
-Wincomplete-record-updates
|
||||
-Wcompat
|
||||
-Widentities
|
||||
-Wredundant-constraints
|
||||
-optP-Wno-nonportable-include-path
|
||||
if impl(ghc >= 8.2)
|
||||
ghc-options: -Wcpp-undef
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -Wincomplete-uni-patterns
|
||||
-Widentities
|
||||
-fhide-source-paths
|
||||
default-language: Haskell2010
|
||||
if flag(executable)
|
||||
buildable: True
|
||||
else
|
||||
buildable: False
|
||||
|
||||
test-suite spec
|
||||
import: hie-options
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: test
|
||||
main-is: Spec.hs
|
||||
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, citeproc
|
||||
, bytestring
|
||||
, text
|
||||
, containers
|
||||
, directory
|
||||
, transformers
|
||||
, mtl
|
||||
, timeit
|
||||
, Diff >= 0.4
|
||||
, pretty
|
||||
, filepath
|
||||
, aeson
|
||||
|
||||
|
||||
ghc-options: -Wall
|
||||
-threaded
|
||||
-rtsopts
|
||||
-with-rtsopts=-N
|
||||
-Wincomplete-record-updates
|
||||
-Wcompat
|
||||
-Widentities
|
||||
-Wredundant-constraints
|
||||
if impl(ghc >= 8.2)
|
||||
ghc-options: -Wcpp-undef
|
||||
if impl(ghc >= 8.4)
|
||||
ghc-options: -Wincomplete-uni-patterns
|
||||
-Widentities
|
||||
-Werror=missing-home-modules
|
||||
-fhide-source-paths
|
||||
|
||||
default-language: Haskell2010
|
||||
|
Reference in New Issue
Block a user