on master help sign in
init
commitdb6b2a072460081b997707d87502700684ddecbc authorAleksey Uymanov <s9gf4ult@gmail.com> dateWed 24 Feb 2021, 11:44 (6 years ago)
11 files changed+140
.gitignore+1 CHANGELOG.md+9 LICENSE+21 README.md+8 app/Main.hs+7 compa4ek.cabal+60 src/Compa4ek.hs+15 stack-8.6.5.yaml+1 stack.yaml+1 stack.yaml.lock+12 test/Spec.hs+5
.gitignorenew file+1
@@ -0,0 +1 @@
1+.stack-work
CHANGELOG.mdnew file+9
@@ -0,0 +1,9 @@
1+# Changelog
2+
3+`compa4ek` uses [PVP Versioning][1].
4+
5+## 0.0.0.0
6+
7+* Initially created.
8+
9+[1]: https://pvp.haskell.org
LICENSEnew file+21
@@ -0,0 +1,21 @@
1+MIT License
2+
3+Copyright (c) 2021 Aleksey Uymanov
4+
5+Permission is hereby granted, free of charge, to any person obtaining a copy
6+of this software and associated documentation files (the "Software"), to deal
7+in the Software without restriction, including without limitation the rights
8+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+copies of the Software, and to permit persons to whom the Software is
10+furnished to do so, subject to the following conditions:
11+
12+The above copyright notice and this permission notice shall be included in all
13+copies or substantial portions of the Software.
14+
15+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+SOFTWARE.
README.mdnew file+8
@@ -0,0 +1,8 @@
1+# compa4ek
2+
3+[![Hackage](https://img.shields.io/hackage/v/compa4ek.svg?logo=haskell)](https://hackage.haskell.org/package/compa4ek)
4+[![Stackage Lts](http://stackage.org/package/compa4ek/badge/lts)](http://stackage.org/lts/package/compa4ek)
5+[![Stackage Nightly](http://stackage.org/package/compa4ek/badge/nightly)](http://stackage.org/nightly/package/compa4ek)
6+[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
7+
8+Compatibility checker for OpenAPI
app/Main.hsnew file+7
@@ -0,0 +1,7 @@
1+module Main (main) where
2+
3+import Compa4ek (someFunc)
4+
5+
6+main :: IO ()
7+main = someFunc
compa4ek.cabalnew file+60
@@ -0,0 +1,60 @@
1+cabal-version: 2.4
2+name: compa4ek
3+version: 0.0.0.0
4+synopsis: Compatibility checker for OpenAPI
5+description: Compatibility checker for OpenAPI
6+license: MIT
7+license-file: LICENSE
8+author: Aleksey Uymanov
9+maintainer: Aleksey Uymanov <s9gf4ult@gmail.com>
10+copyright: 2021 Aleksey Uymanov
11+category: Web
12+build-type: Simple
13+extra-doc-files: README.md
14+ CHANGELOG.md
15+tested-with: GHC == 8.6.5
16+ GHC == 8.8.3
17+
18+common common-options
19+ build-depends: base >= 4.12.0.0 && < 4.14
20+
21+ ghc-options: -Wall
22+ -Wcompat
23+ -Widentities
24+ -Wincomplete-uni-patterns
25+ -Wincomplete-record-updates
26+ if impl(ghc >= 8.0)
27+ ghc-options: -Wredundant-constraints
28+ if impl(ghc >= 8.2)
29+ ghc-options: -fhide-source-paths
30+ if impl(ghc >= 8.4)
31+ ghc-options: -Wmissing-export-lists
32+ -Wpartial-fields
33+ if impl(ghc >= 8.8)
34+ ghc-options: -Wmissing-deriving-strategies
35+
36+ default-language: Haskell2010
37+
38+library
39+ import: common-options
40+ hs-source-dirs: src
41+ exposed-modules: Compa4ek
42+
43+executable compa4ek
44+ import: common-options
45+ hs-source-dirs: app
46+ main-is: Main.hs
47+ build-depends: compa4ek
48+ ghc-options: -threaded
49+ -rtsopts
50+ -with-rtsopts=-N
51+
52+test-suite compa4ek-test
53+ import: common-options
54+ type: exitcode-stdio-1.0
55+ hs-source-dirs: test
56+ main-is: Spec.hs
57+ build-depends: compa4ek
58+ ghc-options: -threaded
59+ -rtsopts
60+ -with-rtsopts=-N
src/Compa4ek.hsnew file+15
@@ -0,0 +1,15 @@
1+{- |
2+Copyright: (c) 2021 Aleksey Uymanov
3+SPDX-License-Identifier: MIT
4+Maintainer: Aleksey Uymanov <s9gf4ult@gmail.com>
5+
6+Compatibility checker for OpenAPI
7+-}
8+
9+module Compa4ek
10+ ( someFunc
11+ ) where
12+
13+
14+someFunc :: IO ()
15+someFunc = putStrLn ("someFunc" :: String)
stack-8.6.5.yamlnew file+1
@@ -0,0 +1 @@
1+resolver: lts-14.27
stack.yamlnew file+1
@@ -0,0 +1 @@
1+resolver: lts-15.5
stack.yaml.locknew file+12
@@ -0,0 +1,12 @@
1+# This file was autogenerated by Stack.
2+# You should not edit this file by hand.
3+# For more information, please see the documentation at:
4+# https://docs.haskellstack.org/en/stable/lock_files
5+
6+packages: []
7+snapshots:
8+- completed:
9+ size: 491372
10+ url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/15/5.yaml
11+ sha256: 1b549cfff328040c382a70a84a2087aac8dab6d778bf92f32a93a771a1980dfc
12+ original: lts-15.5
test/Spec.hsnew file+5
@@ -0,0 +1,5 @@
1+module Main (main) where
2+
3+
4+main :: IO ()
5+main = putStrLn ("Test suite is not implemented" :: String)