mirror of
https://github.com/ikoHSE/sc-task-3.git
synced 2024-08-17 12:10:34 +03:00
Initial commit
This commit is contained in:
commit
f15e203db2
27
.gitignore
vendored
Normal file
27
.gitignore
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
dist
|
||||
dist-*
|
||||
cabal-dev
|
||||
*.o
|
||||
*.hi
|
||||
*.hie
|
||||
*.chi
|
||||
*.chs.h
|
||||
*.dyn_o
|
||||
*.dyn_hi
|
||||
.hpc
|
||||
.hsenv
|
||||
.cabal-sandbox/
|
||||
cabal.sandbox.config
|
||||
*.prof
|
||||
*.aux
|
||||
*.hp
|
||||
*.eventlog
|
||||
.stack-work/
|
||||
cabal.project.local
|
||||
cabal.project.local~
|
||||
.HTF/
|
||||
.ghc.environment.*
|
||||
*.cabal
|
||||
.DS_Store
|
||||
.idea/
|
||||
*.dump-hi
|
24
LICENSE
Normal file
24
LICENSE
Normal file
@ -0,0 +1,24 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <https://unlicense.org>
|
18
package.yaml
Normal file
18
package.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
name: task
|
||||
version: 0.1.0.0
|
||||
license: Unlicense
|
||||
|
||||
dependencies:
|
||||
- base >= 4.7 && < 5
|
||||
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
tests:
|
||||
task-tests:
|
||||
source-dirs: test
|
||||
main: Main.hs
|
||||
dependencies:
|
||||
- tasty
|
||||
- tasty-hspec
|
||||
- task
|
3
src/Task.hs
Normal file
3
src/Task.hs
Normal file
@ -0,0 +1,3 @@
|
||||
module Task
|
||||
(
|
||||
) where
|
7
stack.yaml
Normal file
7
stack.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
resolver: lts-14.27
|
||||
|
||||
packages:
|
||||
- .
|
||||
|
||||
ghc-options:
|
||||
"$locals": -ddump-to-file -ddump-hi -fwarn-unused-binds -fwarn-unused-imports -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wpartial-fields -Werror=missing-home-modules -Wmissing-home-modules -Widentities -Wredundant-constraints -Wmissing-export-lists
|
15
test/Main.hs
Normal file
15
test/Main.hs
Normal file
@ -0,0 +1,15 @@
|
||||
module Main
|
||||
( main,
|
||||
)
|
||||
where
|
||||
|
||||
import Test.Tasty
|
||||
import Test.Tasty.Hspec
|
||||
import Tests
|
||||
|
||||
main :: IO ()
|
||||
main = do
|
||||
tests' <- testSpecs tests
|
||||
defaultMain
|
||||
( testGroup "tests" tests'
|
||||
)
|
11
test/Tests.hs
Normal file
11
test/Tests.hs
Normal file
@ -0,0 +1,11 @@
|
||||
module Tests
|
||||
( tests,
|
||||
)
|
||||
where
|
||||
|
||||
import Task
|
||||
import Test.Tasty.Hspec
|
||||
|
||||
tests :: Spec
|
||||
tests = do
|
||||
return ()
|
Loading…
Reference in New Issue
Block a user