Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed TestLoop && Fixed to work with stack && Updated Readme #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
cabal-dev/*
dist/*
cabal.config
cabal.sandbox.config

stack.yaml
.stack-work

.idea*
*.iml
22 changes: 0 additions & 22 deletions HaskellKoans.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -86,25 +86,3 @@ test-suite koans

-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:

Executable testloop
-- .hs or .lhs file containing the Main module.
Main-is:
TestLoop.hs

-- Packages needed in order to build this package.
Build-depends:
base >= 4.5,
attoparsec,
containers,
HUnit,
mtl,
hspec,
text,
testloop

HS-source-dirs:
test

Default-language:
Haskell2010
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
## installation

$ ./bin/setup-koans
Make sure stack is installed, then:

$ stack init

This may take time.

## run

$ ./bin/koans
$ stack test

This tells you what to do. Modify `test/BasicFunctions.hs`'s `replaceValue`s to let the test passes.
2 changes: 0 additions & 2 deletions bin/koans

This file was deleted.

25 changes: 0 additions & 25 deletions bin/setup-koans

This file was deleted.

6 changes: 0 additions & 6 deletions test/TestLoop.hs

This file was deleted.