-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reformatted. Clean up. Added workflows. Updated package metadata.
- Loading branch information
1 parent
8d433f6
commit d0f6faa
Showing
12 changed files
with
293 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@byteverse/l3c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: build | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: byteverse/.github/.github/workflows/build.yaml@main | ||
secrets: inherit | ||
with: | ||
release: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: byteverse/.github/.github/workflows/build.yaml@main | ||
secrets: inherit | ||
with: | ||
release: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode/ | ||
dist | ||
dist-* | ||
cabal-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# error-codes | ||
|
||
A library for converting printing human-readable descriptions of error codes | ||
A library for creating human-readable descriptions of error codes | ||
from the operating system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,52 @@ | ||
cabal-version: 2.2 | ||
name: error-codes | ||
version: 0.1.3.0 | ||
synopsis: Error code functions | ||
homepage: https://github.com/andrewthad/error-codes | ||
bug-reports: https://github.com/andrewthad/error-codes/issues | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2019 Andrew Martin | ||
category: System | ||
extra-source-files: README.md | ||
cabal-version: 2.2 | ||
name: error-codes | ||
version: 0.1.3.1 | ||
synopsis: Error code functions | ||
description: | ||
A library for creating human-readable descriptions of error codes from the operating system. | ||
|
||
homepage: https://github.com/byteverse/error-codes | ||
bug-reports: https://github.com/byteverse/error-codes/issues | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2019 Andrew Martin | ||
category: System | ||
extra-doc-files: | ||
CHANGELOG.md | ||
README.md | ||
|
||
common build-settings | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -Wunused-packages | ||
|
||
library | ||
import: build-settings | ||
exposed-modules: | ||
Foreign.C.Error.Describe | ||
Foreign.C.Error.Pattern | ||
|
||
build-depends: | ||
, base >=4.11.1 && <5 | ||
, primitive >=0.7 && < 0.10 | ||
, primitive-unlifted >= 0.1 && < 2.2 | ||
, text-short >=0.1.5 | ||
, bytestring >=0.11 | ||
, text >=2.0 | ||
hs-source-dirs: src | ||
default-language: Haskell2010 | ||
ghc-options: -Wall -O2 | ||
, base >=4.11.1 && <5 | ||
, bytestring >=0.11 | ||
, primitive >=0.7 && <0.10 | ||
, primitive-unlifted >=0.1 && <2.2 | ||
, text >=2.0 | ||
, text-short >=0.1.5 | ||
|
||
hs-source-dirs: src | ||
ghc-options: -O2 | ||
|
||
test-suite test | ||
type: exitcode-stdio-1.0 | ||
import: build-settings | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
main-is: Main.hs | ||
build-depends: | ||
, base | ||
, error-codes | ||
ghc-options: -Wall -O2 | ||
default-language: Haskell2010 | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/byteverse/error-codes.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Number of spaces per indentation step | ||
indentation: 2 | ||
|
||
# Max line length for automatic line breaking | ||
column-limit: 200 | ||
|
||
# Styling of arrows in type signatures (choices: trailing, leading, or leading-args) | ||
function-arrows: trailing | ||
|
||
# How to place commas in multi-line lists, records, etc. (choices: leading or trailing) | ||
comma-style: leading | ||
|
||
# Styling of import/export lists (choices: leading, trailing, or diff-friendly) | ||
import-export-style: leading | ||
|
||
# Whether to full-indent or half-indent 'where' bindings past the preceding body | ||
indent-wheres: false | ||
|
||
# Whether to leave a space before an opening record brace | ||
record-brace-space: true | ||
|
||
# Number of spaces between top-level declarations | ||
newlines-between-decls: 1 | ||
|
||
# How to print Haddock comments (choices: single-line, multi-line, or multi-line-compact) | ||
haddock-style: multi-line | ||
|
||
# How to print module docstring | ||
haddock-style-module: null | ||
|
||
# Styling of let blocks (choices: auto, inline, newline, or mixed) | ||
let-style: auto | ||
|
||
# How to align the 'in' keyword with respect to the 'let' keyword (choices: left-align, right-align, or no-space) | ||
in-style: right-align | ||
|
||
# Whether to put parentheses around a single constraint (choices: auto, always, or never) | ||
single-constraint-parens: always | ||
|
||
# Output Unicode syntax (choices: detect, always, or never) | ||
unicode: never | ||
|
||
# Give the programmer more choice on where to insert blank lines | ||
respectful: true | ||
|
||
# Fixity information for operators | ||
fixities: [] | ||
|
||
# Module reexports Fourmolu should know about | ||
reexports: [] | ||
|
Oops, something went wrong.