Skip to content

Commit ba785df

Browse files
Prepare 0.1.1.1 release
Reformatted. Added workflows. Updated package metadata. Removed redundant doctest suite.
1 parent c75b657 commit ba785df

File tree

11 files changed

+300
-253
lines changed

11 files changed

+300
-253
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@byteverse/l3c

.github/workflows/build.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: build
2+
on:
3+
pull_request:
4+
branches:
5+
- "*"
6+
7+
jobs:
8+
call-workflow:
9+
uses: byteverse/.github/.github/workflows/build.yaml@main
10+
secrets: inherit
11+
with:
12+
release: false

.github/workflows/release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
7+
jobs:
8+
call-workflow:
9+
uses: byteverse/.github/.github/workflows/build.yaml@main
10+
secrets: inherit
11+
with:
12+
release: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.vscode/
12
dist
23
dist-*
34
cabal-dev

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Revision history for base62
22

3+
## 0.1.1.1 -- 2024-02-01
4+
5+
* Update package metadata.
6+
37
## 0.1.1.0 -- 2023-08-08
48

59
* Add `shortText128`.

Setup.hs

Lines changed: 0 additions & 2 deletions
This file was deleted.

base62.cabal

Lines changed: 37 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,50 @@
1-
cabal-version: 2.2
2-
name: base62
3-
version: 0.1.1.0
4-
synopsis: Base62 encoding and decoding
5-
description:
6-
Encode and decode using the base62 encoding scheme.
7-
homepage: https://github.com/byteverse/base62
8-
bug-reports: https://github.com/byteverse/base62/issues
9-
license: BSD-3-Clause
10-
license-file: LICENSE
11-
author: Andrew Martin
12-
maintainer: andrew.thaddeus@gmail.com
13-
copyright: 2019 Andrew Martin
14-
category: Data
15-
extra-source-files: CHANGELOG.md
1+
cabal-version: 2.2
2+
name: base62
3+
version: 0.1.1.1
4+
synopsis: Base62 encoding and decoding
5+
description: Encode and decode using the base62 encoding scheme.
6+
homepage: https://github.com/byteverse/base62
7+
bug-reports: https://github.com/byteverse/base62/issues
8+
license: BSD-3-Clause
9+
license-file: LICENSE
10+
author: Andrew Martin
11+
maintainer: amartin@layer3com.com
12+
copyright: 2019 Andrew Martin
13+
category: Data
14+
extra-doc-files: CHANGELOG.md
1615

1716
library
18-
exposed-modules:
19-
Data.Word.Base62
17+
exposed-modules: Data.Word.Base62
2018
build-depends:
21-
, base >=4.17 && <5
22-
, bytebuild >=0.3.4 && <0.4
23-
, byteslice >=0.2 && <0.3
24-
, bytestring >=0.11.4
25-
, natural-arithmetic >=0.1 && <0.2
26-
, primitive >=0.7 && <0.10
27-
, text >=2.0.2
28-
, text-short >=0.1.5
29-
, wide-word >=0.1.0.8 && <0.2
30-
hs-source-dirs: src
19+
, base >=4.17 && <5
20+
, bytebuild >=0.3.4 && <0.4
21+
, byteslice >=0.2 && <0.3
22+
, bytestring >=0.11.4 && <0.12
23+
, natural-arithmetic >=0.1 && <0.2
24+
, primitive >=0.7 && <0.10
25+
, text >=2.0.2 && <2.1
26+
, text-short >=0.1.5 && <0.2
27+
, wide-word >=0.1.0.8 && <0.2
28+
29+
hs-source-dirs: src
3130
default-language: Haskell2010
32-
ghc-options: -Wall -O2
31+
ghc-options: -Wall -O2
3332

3433
test-suite test
3534
default-language: Haskell2010
36-
type: exitcode-stdio-1.0
37-
hs-source-dirs: test
38-
main-is: Main.hs
35+
type: exitcode-stdio-1.0
36+
hs-source-dirs: test
37+
main-is: Main.hs
3938
build-depends:
40-
, base >=4.12.0.0 && <5
39+
, base >=4.12.0.0 && <5
4140
, base62
42-
, tasty
43-
, tasty-quickcheck
44-
, tasty-hunit
4541
, byteslice
4642
, primitive
43+
, tasty
44+
, tasty-hunit
45+
, tasty-quickcheck
4746
, wide-word
4847

49-
test-suite doctest
50-
type: exitcode-stdio-1.0
51-
hs-source-dirs: test
52-
main-is: Doctest.hs
53-
build-depends:
54-
, base
55-
, doctest >= 0.10
56-
, base62
57-
, wide-word
58-
default-language: Haskell2010
48+
source-repository head
49+
type: git
50+
location: git://github.com/byteverse/base62.git

fourmolu.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Number of spaces per indentation step
2+
indentation: 2
3+
4+
# Max line length for automatic line breaking
5+
column-limit: 200
6+
7+
# Styling of arrows in type signatures (choices: trailing, leading, or leading-args)
8+
function-arrows: trailing
9+
10+
# How to place commas in multi-line lists, records, etc. (choices: leading or trailing)
11+
comma-style: leading
12+
13+
# Styling of import/export lists (choices: leading, trailing, or diff-friendly)
14+
import-export-style: leading
15+
16+
# Whether to full-indent or half-indent 'where' bindings past the preceding body
17+
indent-wheres: false
18+
19+
# Whether to leave a space before an opening record brace
20+
record-brace-space: true
21+
22+
# Number of spaces between top-level declarations
23+
newlines-between-decls: 1
24+
25+
# How to print Haddock comments (choices: single-line, multi-line, or multi-line-compact)
26+
haddock-style: multi-line
27+
28+
# How to print module docstring
29+
haddock-style-module: null
30+
31+
# Styling of let blocks (choices: auto, inline, newline, or mixed)
32+
let-style: auto
33+
34+
# How to align the 'in' keyword with respect to the 'let' keyword (choices: left-align, right-align, or no-space)
35+
in-style: right-align
36+
37+
# Whether to put parentheses around a single constraint (choices: auto, always, or never)
38+
single-constraint-parens: always
39+
40+
# Output Unicode syntax (choices: detect, always, or never)
41+
unicode: never
42+
43+
# Give the programmer more choice on where to insert blank lines
44+
respectful: true
45+
46+
# Fixity information for operators
47+
fixities: []
48+
49+
# Module reexports Fourmolu should know about
50+
reexports: []
51+

0 commit comments

Comments
 (0)