mirror of
https://github.com/ikoHSE/sc-task-1.git
synced 2024-10-05 13:37:20 +03:00
Initial commit
This commit is contained in:
commit
a2f28e6cb8
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
|
4
stack.yaml
Normal file
4
stack.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
resolver: lts-14.22
|
||||
|
||||
packages:
|
||||
- .
|
39
task.cabal
Normal file
39
task.cabal
Normal file
@ -0,0 +1,39 @@
|
||||
cabal-version: 2.2
|
||||
|
||||
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||||
--
|
||||
-- see: https://github.com/sol/hpack
|
||||
--
|
||||
-- hash: c454617de75af64ca6c743a3a745918472bb438f8df9c2019b67700d4caaf63c
|
||||
|
||||
name: task
|
||||
version: 0.1.0.0
|
||||
license: Unlicense
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
Task
|
||||
other-modules:
|
||||
Paths_task
|
||||
hs-source-dirs:
|
||||
src
|
||||
build-depends:
|
||||
base >=4.7 && <5
|
||||
default-language: Haskell2010
|
||||
|
||||
test-suite task-tests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Main.hs
|
||||
other-modules:
|
||||
Tests
|
||||
Paths_task
|
||||
hs-source-dirs:
|
||||
test
|
||||
build-depends:
|
||||
base >=4.7 && <5
|
||||
, task
|
||||
, tasty
|
||||
, tasty-hspec
|
||||
default-language: Haskell2010
|
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