Skip to content

Commit

Permalink
Prepare 1.2.3.0 release.
Browse files Browse the repository at this point in the history
Removed other subprojects.
Added changelog and updated readme.
Reformatted.
Use new .github workflows.
Export `charCell` and `encodeCappedCellTable`.
  • Loading branch information
brianjosephmckeon authored Mar 6, 2024
1 parent 22dfe83 commit f70859d
Show file tree
Hide file tree
Showing 60 changed files with 731 additions and 5,219 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@byteverse/l3c
11 changes: 11 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: build
on:
pull_request:
branches:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
with:
cabal-file: blaze-colonnade.cabal
10 changes: 10 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: release
on:
push:
tags:
- "*"

jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/
*.aux
cabal-dev
.cabal-sandbox
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Revision history for blaze-colonnade

## 1.2.3.0 -- 2024-03-06

* Update package metadata.
* Remove `profunctors` dependency.
* Export `charCell` and `encodeCappedCellTable`.
File renamed without changes.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
Most of the tests use doctest, which isn't run like a normal test suite (I guess).

To run these tests, first make sure `doctest` is on the `PATH` (i.e. `cabal install doctest`), then run the following commands:
To run doctests, first make sure `doctest` is on the `PATH` (i.e. `cabal install doctest`), then run the following commands:

```
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" siphon
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" colonnade
cabal repl --build-depends=QuickCheck --with-ghc=doctest --repl-options="-fno-warn-orphans" blaze-colonnade
cabal repl --build-depends=QuickCheck,profunctors --with-ghc=doctest --repl-options="-fno-warn-orphans -Wno-x-partial" blaze-colonnade
```

There are no tests for lucid-colonnade at present.
43 changes: 43 additions & 0 deletions blaze-colonnade.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
cabal-version: 3.0
name: blaze-colonnade
version: 1.2.3.0
synopsis: blaze-html backend for colonnade
description:
This library provides a backend for using blaze-html with colonnade.
It generates standard HTML tables with `<table>`, `<tbody>`, `<thead>`,
`<tr>`, `<th>`, and `<td>`.

homepage: https://github.com/byteverse/blaze-colonnade
bug-reports: https://github.com/byteverse/blaze-colonnade/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: [email protected]
copyright: 2017 Andrew Martin
category: web
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md

tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1

common build-settings
default-language: Haskell2010
ghc-options: -Wall -Wunused-packages
build-depends: base >=4.8 && <5

library
import: build-settings
ghc-options: -O2
hs-source-dirs: src
exposed-modules: Text.Blaze.Colonnade
build-depends:
, blaze-html >=0.8
, blaze-markup >=0.7
, colonnade >=1.1
, text >=1.2

source-repository head
type: git
location: git://github.com/byteverse/blaze-colonnade.git
2 changes: 0 additions & 2 deletions blaze-colonnade/Setup.hs

This file was deleted.

38 changes: 0 additions & 38 deletions blaze-colonnade/blaze-colonnade.cabal

This file was deleted.

48 changes: 0 additions & 48 deletions blaze-colonnade/hackage-docs.sh

This file was deleted.

Loading

0 comments on commit f70859d

Please sign in to comment.