Skip to content

Commit 206d0e3

Browse files
committed
Create the project
0 parents  commit 206d0e3

File tree

10 files changed

+658
-0
lines changed

10 files changed

+658
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
### Haskell
2+
dist
3+
dist-*
4+
cabal-dev
5+
*.o
6+
*.hi
7+
*.chi
8+
*.chs.h
9+
*.dyn_o
10+
*.dyn_hi
11+
*.prof
12+
*.aux
13+
*.hp
14+
*.eventlog
15+
.virtualenv
16+
.hsenv
17+
.hpc
18+
.cabal-sandbox/
19+
cabal.sandbox.config
20+
cabal.config
21+
cabal.project.local
22+
.ghc.environment.*
23+
.HTF/
24+
# Stack
25+
.stack-work/
26+
27+
### IDE/support
28+
# Vim
29+
[._]*.s[a-v][a-z]
30+
[._]*.sw[a-p]
31+
[._]s[a-v][a-z]
32+
[._]sw[a-p]
33+
*~
34+
tags
35+
36+
# IntellijIDEA
37+
.idea/
38+
.ideaHaskellLib/
39+
*.iml
40+
41+
# Atom
42+
.haskell-ghc-mod.json
43+
44+
# VS
45+
.vscode/
46+
47+
# Emacs
48+
*#
49+
.dir-locals.el
50+
TAGS
51+
52+
# other
53+
.DS_Store

.stylish-haskell.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
steps:
2+
- simple_align:
3+
cases: true
4+
top_level_patterns: true
5+
records: true
6+
7+
# Import cleanup
8+
- imports:
9+
align: none
10+
list_align: after_alias
11+
pad_module_names: false
12+
long_list_align: inline
13+
empty_list_align: inherit
14+
list_padding: 4
15+
separate_lists: true
16+
space_surround: false
17+
18+
- language_pragmas:
19+
style: vertical
20+
remove_redundant: true
21+
22+
# Remove trailing whitespace
23+
- trailing_whitespace: {}
24+
25+
columns: 100
26+
27+
newline: native
28+
29+
language_extensions:
30+
- BangPatterns
31+
- ConstraintKinds
32+
- DataKinds
33+
- DefaultSignatures
34+
- DeriveAnyClass
35+
- DeriveDataTypeable
36+
- DeriveGeneric
37+
- DerivingStrategies
38+
- ExplicitNamespaces
39+
- FlexibleContexts
40+
- FlexibleInstances
41+
- FunctionalDependencies
42+
- GADTs
43+
- GeneralizedNewtypeDeriving
44+
- InstanceSigs
45+
- KindSignatures
46+
- LambdaCase
47+
- MultiParamTypeClasses
48+
- MultiWayIf
49+
- NamedFieldPuns
50+
- NoImplicitPrelude
51+
- OverloadedStrings
52+
- QuasiQuotes
53+
- RecordWildCards
54+
- ScopedTypeVariables
55+
- StandaloneDeriving
56+
- TemplateHaskell
57+
- TupleSections
58+
- TypeApplications
59+
- TypeFamilies
60+
- ViewPatterns

.travis.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
sudo: true
2+
language: haskell
3+
4+
git:
5+
depth: 5
6+
7+
cabal: "2.4"
8+
9+
cache:
10+
directories:
11+
- "$HOME/.cabal/store"
12+
- "$HOME/.stack"
13+
- "$TRAVIS_BUILD_DIR/.stack-work"
14+
15+
matrix:
16+
include:
17+
- ghc: 8.6.4
18+
19+
- ghc: 8.6.4
20+
env: STACK_YAML="$TRAVIS_BUILD_DIR/stack.yaml"
21+
22+
install:
23+
# HLint check
24+
- curl -sSL https://raw.github.com/ndmitchell/neil/master/misc/travis.sh | sh -s -- hlint .
25+
26+
- |
27+
if [ -z "$STACK_YAML" ]; then
28+
ghc --version
29+
cabal --version
30+
cabal new-update
31+
cabal new-build --enable-tests --enable-benchmarks
32+
else
33+
curl -sSL https://get.haskellstack.org/ | sh
34+
stack --version
35+
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --ghc-options=-Werror
36+
fi
37+
38+
script:
39+
- |
40+
if [ -z "$STACK_YAML" ]; then
41+
cabal new-test --enable-tests
42+
else
43+
stack test --system-ghc
44+
fi
45+
46+
notifications:
47+
email: false

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
3+
`postgresql-simple-named` uses [PVP Versioning][1].
4+
The changelog is available [on GitHub][2].
5+
6+
## 0.0.0.0
7+
8+
* Initially created.
9+
10+
[1]: https://pvp.haskell.org
11+
[2]: https://github.com/Holmusk/postgresql-simple-named/releases

0 commit comments

Comments
 (0)