drone

[ library, mit, unclassified ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 1.0.1, 1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bytestring, containers (>=0.5.4), extensible (>=0.6), 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 2020-03-28T10:15:47Z
Distributions
Downloads 808 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-03-28 [all 1 reports]

Readme for drone-1.1.0

[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.