git.iko.soy/ikoHSE/sc-task-template
on master help sign in
5 files changed+35−40
since splitsnapshots
unifiedsplit
.gitignore+29 package.yaml+1 stack.yaml+4−1 task.cabal−39 test/Tests.hs+1
.gitignorenew file+29
@@ -0,0 +1,29 @@
1+dist
2+dist-*
3+cabal-dev
4+*.o
5+*.hi
6+*.hie
7+*.chi
8+*.chs.h
9+*.dyn_o
10+*.dyn_hi
11+.hpc
12+.hsenv
13+.cabal-sandbox/
14+cabal.sandbox.config
15+*.prof
16+*.aux
17+*.hp
18+*.eventlog
19+.stack-work/
20+cabal.project.local
21+cabal.project.local~
22+.HTF/
23+.ghc.environment.*
24+.DS_Store
25+.idea/
26+*.dump-hi
27+*.lock
28+*.iml
29+task.cabal
package.yaml+1
@@ -15,4 +15,5 @@ tests:
1515 dependencies:
1616 - tasty
1717 - tasty-hspec
18+ - hspec
1819 - task
stack.yaml+4−1
@@ -1,4 +1,7 @@
1−resolver: lts-14.22
1+resolver: nightly-2024-10-11
22
33packages:
44- .
5+
6+ghc-options:
7+ "$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
task.cabaldeleted−39
@@ -1,39 +0,0 @@
1−cabal-version: 2.2
2−
3−-- This file has been generated from package.yaml by hpack version 0.31.2.
4−--
5−-- see: https://github.com/sol/hpack
6−--
7−-- hash: c454617de75af64ca6c743a3a745918472bb438f8df9c2019b67700d4caaf63c
8−
9−name: task
10−version: 0.1.0.0
11−license: Unlicense
12−license-file: LICENSE
13−build-type: Simple
14−
15−library
16− exposed-modules:
17− Task
18− other-modules:
19− Paths_task
20− hs-source-dirs:
21− src
22− build-depends:
23− base >=4.7 && <5
24− default-language: Haskell2010
25−
26−test-suite task-tests
27− type: exitcode-stdio-1.0
28− main-is: Main.hs
29− other-modules:
30− Tests
31− Paths_task
32− hs-source-dirs:
33− test
34− build-depends:
35− base >=4.7 && <5
36− , task
37− , tasty
38− , tasty-hspec
39− default-language: Haskell2010
test/Tests.hs+1
@@ -3,6 +3,7 @@ module Tests
33 )
44where
55
6+import Test.Hspec
67import Task
78import Test.Tasty.Hspec
89