1
1
mirror of https://github.com/srid/rib.git synced 2024-11-22 11:23:02 +03:00

Split packages

This commit is contained in:
Sridhar Ratnakumar 2020-07-31 12:36:23 -04:00
parent f258af272d
commit ff0066b2f3
11 changed files with 70 additions and 13 deletions

View File

@ -1,5 +1,9 @@
# Change Log for rib # Change Log for rib
## Unreleased
- Split packages into `rib` and `rib-core`
## 0.12 ## 0.12
- Removed pandoc-include-code - Removed pandoc-include-code

View File

@ -22,6 +22,7 @@ compiler.developPackage {
inherit root name; inherit root name;
source-overrides = { source-overrides = {
rib = ribRoot + "/rib"; rib = ribRoot + "/rib";
rib-core = ribRoot + "/rib-core";
} // source-overrides; } // source-overrides;
overrides = self: super: with pkgs.haskell.lib; { overrides = self: super: with pkgs.haskell.lib; {
} // (overrides self super); } // (overrides self super);

62
rib-core/rib-core.cabal Normal file
View 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

View File

@ -1,6 +1,6 @@
cabal-version: 2.4 cabal-version: 2.4
name: rib name: rib
version: 0.12.0.0 version: 0.13.0.0
license: BSD-3-Clause license: BSD-3-Clause
copyright: 2019 Sridhar Ratnakumar copyright: 2019 Sridhar Ratnakumar
maintainer: srid@srid.ca maintainer: srid@srid.ca
@ -13,9 +13,6 @@ description:
Haskell static site generator based on Shake, with a delightful development experience. Haskell static site generator based on Shake, with a delightful development experience.
category: Web category: Web
build-type: Simple build-type: Simple
extra-source-files:
README.md
CHANGELOG.md
source-repository head source-repository head
type: git type: git
@ -60,25 +57,18 @@ common library-common
iso8601-time, iso8601-time,
wai >=3.2.2 && <3.3, wai >=3.2.2 && <3.3,
wai-app-static >=3.1.6 && <3.2, wai-app-static >=3.1.6 && <3.2,
warp warp,
rib-core
library library
import: library-common import: library-common
exposed-modules: exposed-modules:
Rib Rib
Rib.App
Rib.Cli
Rib.Watch
Rib.Log
Rib.Parser.Dhall Rib.Parser.Dhall
Rib.Parser.MMark Rib.Parser.MMark
Rib.Parser.Pandoc Rib.Parser.Pandoc
Rib.Route
Rib.Shake
Rib.Extra.CSS Rib.Extra.CSS
Rib.Extra.OpenGraph Rib.Extra.OpenGraph
other-modules:
Rib.Server
test-suite rib-test test-suite rib-test
import: library-common import: library-common