drone

[ library, mit, unclassified ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/matsubara0507/drone-haskell#readme


[Skip to Readme]
Versions [faq] 1.0.1
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring, containers (>=0.5.4), extensible (>=0.4.8), formatting (>=6.3.0), microlens, req (>=1.0.0), text [details]
License MIT
Copyright 2018 MATSUBARA Nobutada
Author MATSUBARA Nobutada
Maintainer t12307043@gunma-u.ac.jp
Home page https://github.com/matsubara0507/drone-haskell#readme
Bug tracker https://github.com/matsubara0507/drone-haskell/issues
Source repo head: git clone https://github.com/matsubara0507/drone-haskell
Uploaded by matsubara0507 at Sun May 26 07:54:23 UTC 2019
Distributions NixOS:1.0.1
Downloads 68 total (22 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-05-26 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for drone-1.0.1

[back to package description]

drone-haskell

Build Status Build Status Hackage

Haskell client for the Drone API

USAGE

Add to stack.yml:

extra-deps:
- extensible-0.5
- github: matsubara0507/drone-haskell
  commit: XXX

e.g.

$ stack ghci
>> :set -XOverloadedStrings -XOverloadedLabels
>> import Data.Extensible
>> import Network.HTTP.Req
>> token = ...
>> client = HttpClient (#host @= "localhost" <: #port @= Nothing <: #token @= token <: nil)
>> rsp <- runReq defaultHttpConfig $ getSelf client
>> responseBody rsp

Reference

Reference Drone API by drone-go.