katt-0.2.0.3: katt.cabal
name: katt
version: 0.2.0.3
stability: experimental
synopsis: Client for the Kattis judge system.
description: Unofficial CLI client for the Kattis online judge system (currently in BETA).
.
Written in a git-like fashion, it supports automatic
downloading of test cases, easy submissions, and more.
.
Basically a problem is initialized as follows
(creates a directory and downloads any available test cases):
.
> > katt init hello
> > cd hello
.
Source files, problem names, and language identification is handled
automatically when submitting solutions:
.
> > vim hello.java
> > katt submit
> Made submission 4712
> Accepted: 1 of 1 test(s) passed
.
There is also built-in support for problem sessions,
which initalizes all problems in the problem list.
.
Get started by downloading a /.kattisrc/ config from
the official site, make sure you have the haskell platform
installed, then run /cabal install katt/.
.
Please note that the beta release is limited to C, C++, Java, and Haskell.
It also only supports running on unix.
.
Changes since last release:
.
* Support for Haskell submissions
.
* HTTP client replaced with wreq
.
* Improved code readability
homepage: https://github.com/davnils/katt
bug-reports: https://github.com/davnils/katt/issues
license: BSD3
license-file: LICENSE
author: David Nilsson
maintainer: nilsson.dd+code@gmail.com
category: Utils
build-type: Simple
cabal-version: >=1.8
-- Support building on earlier GHC, at least 7.4.1 and 7.4.2.
-- The current solution does not scale very well since dependencies
-- are listed under each section (lib, exe, test1, test2, ..)
-- see https://github.com/haskell/cabal/issues/417
-- and the related discussion.
library
hs-source-dirs: katt-lib/src
exposed-modules: Utils.Katt.Configuration,
Utils.Katt.Init,
Utils.Katt.SourceHandler,
Utils.Katt.Upload,
Utils.Katt.Utils
ghc-options: -Wall
-- lens 4.2 needs to handle https://github.com/ekmett/lens/issues/450
build-depends:
aeson >= 0.7.0.6 && < 0.8,
base >= 4.5 && < 4.7,
bytestring >= 0.9.2.1 && < 0.11,
containers >= 0.4.2.1 && < 0.6,
ConfigFile == 1.1.*,
directory >= 1.1.0.2 && < 1.3,
errors == 1.4.*,
filepath == 1.3.*,
lens >= 4.1 && < 4.3,
mtl >= 2.0 && < 2.2,
parsec >= 3.1.5 && < 3.2,
text >= 0.11 && < 1.2,
url == 2.1.*,
wreq == 0.1.*,
zip-archive >= 0.1 && < 0.3
executable katt
hs-source-dirs: katt-cli/src
main-is: Main.hs
ghc-options: -O2 -threaded -Wall
build-depends:
base >= 4.5 && < 4.7,
bytestring >= 0.9.2.1 && < 0.11,
katt,
mtl >= 2.0 && < 2.2
Test-Suite test-katt-sourcehandler
type: exitcode-stdio-1.0
hs-source-dirs: katt-tests/src
main-is: TestSourceHandler.hs
ghc-options: -O2 -threaded -Wall
build-depends:
base >= 4.5 && < 4.7,
bytestring >= 0.9.2.1 && < 0.11,
directory >= 1.1.0.2 && < 1.3,
katt,
mtl >= 2.0 && < 2.2
source-repository head
type: git
location: https://github.com/davnils/katt.git