mirror of
https://github.com/srid/rib.git
synced 2024-11-22 11:23:02 +03:00
Split packages
This commit is contained in:
parent
f258af272d
commit
ff0066b2f3
@ -1,5 +1,9 @@
|
||||
# Change Log for rib
|
||||
|
||||
## Unreleased
|
||||
|
||||
- Split packages into `rib` and `rib-core`
|
||||
|
||||
## 0.12
|
||||
|
||||
- Removed pandoc-include-code
|
||||
|
@ -22,6 +22,7 @@ compiler.developPackage {
|
||||
inherit root name;
|
||||
source-overrides = {
|
||||
rib = ribRoot + "/rib";
|
||||
rib-core = ribRoot + "/rib-core";
|
||||
} // source-overrides;
|
||||
overrides = self: super: with pkgs.haskell.lib; {
|
||||
} // (overrides self super);
|
||||
|
62
rib-core/rib-core.cabal
Normal file
62
rib-core/rib-core.cabal
Normal file
@ -0,0 +1,62 @@
|
||||
cabal-version: 2.4
|
||||
name: rib-core
|
||||
version: 0.13.0.0
|
||||
license: BSD-3-Clause
|
||||
copyright: 2019 Sridhar Ratnakumar
|
||||
maintainer: srid@srid.ca
|
||||
author: Sridhar Ratnakumar
|
||||
homepage: https://github.com/srid/rib#readme
|
||||
bug-reports: https://github.com/srid/rib/issues
|
||||
synopsis:
|
||||
Static site generator based on Shake
|
||||
description:
|
||||
Haskell static site generator based on Shake, with a delightful development experience.
|
||||
category: Web
|
||||
build-type: Simple
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/srid/rib
|
||||
|
||||
library
|
||||
hs-source-dirs: src
|
||||
default-language: Haskell2010
|
||||
default-extensions: NoImplicitPrelude
|
||||
ghc-options:
|
||||
-Wall
|
||||
-Wincomplete-record-updates
|
||||
-Wincomplete-uni-patterns
|
||||
build-depends:
|
||||
aeson >=1.4.2 && <1.5,
|
||||
async,
|
||||
base-noprelude >=4.12 && <4.14,
|
||||
binary >=0.8.6 && <0.9,
|
||||
cmdargs >=0.10.20 && <0.11,
|
||||
containers >=0.6.0 && <0.7,
|
||||
directory >= 1.0 && <2.0,
|
||||
exceptions,
|
||||
foldl,
|
||||
fsnotify >=0.3.0 && <0.4,
|
||||
filepath,
|
||||
megaparsec >= 8.0,
|
||||
modern-uri,
|
||||
mtl >=2.2.2 && <2.3,
|
||||
optparse-applicative >= 0.15,
|
||||
relude >= 0.6 && < 0.8,
|
||||
safe-exceptions,
|
||||
shake >= 0.18.5,
|
||||
text >=1.2.3 && <1.3,
|
||||
time,
|
||||
iso8601-time,
|
||||
wai >=3.2.2 && <3.3,
|
||||
wai-app-static >=3.1.6 && <3.2,
|
||||
warp
|
||||
exposed-modules:
|
||||
Rib.App
|
||||
Rib.Cli
|
||||
Rib.Watch
|
||||
Rib.Log
|
||||
Rib.Route
|
||||
Rib.Shake
|
||||
other-modules:
|
||||
Rib.Server
|
@ -1,6 +1,6 @@
|
||||
cabal-version: 2.4
|
||||
name: rib
|
||||
version: 0.12.0.0
|
||||
version: 0.13.0.0
|
||||
license: BSD-3-Clause
|
||||
copyright: 2019 Sridhar Ratnakumar
|
||||
maintainer: srid@srid.ca
|
||||
@ -13,9 +13,6 @@ description:
|
||||
Haskell static site generator based on Shake, with a delightful development experience.
|
||||
category: Web
|
||||
build-type: Simple
|
||||
extra-source-files:
|
||||
README.md
|
||||
CHANGELOG.md
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
@ -60,25 +57,18 @@ common library-common
|
||||
iso8601-time,
|
||||
wai >=3.2.2 && <3.3,
|
||||
wai-app-static >=3.1.6 && <3.2,
|
||||
warp
|
||||
warp,
|
||||
rib-core
|
||||
|
||||
library
|
||||
import: library-common
|
||||
exposed-modules:
|
||||
Rib
|
||||
Rib.App
|
||||
Rib.Cli
|
||||
Rib.Watch
|
||||
Rib.Log
|
||||
Rib.Parser.Dhall
|
||||
Rib.Parser.MMark
|
||||
Rib.Parser.Pandoc
|
||||
Rib.Route
|
||||
Rib.Shake
|
||||
Rib.Extra.CSS
|
||||
Rib.Extra.OpenGraph
|
||||
other-modules:
|
||||
Rib.Server
|
||||
|
||||
test-suite rib-test
|
||||
import: library-common
|
||||
|
Loading…
Reference in New Issue
Block a user