Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 309 Bytes
{-# LANGUAGE OverloadedStrings #-}
import Lens.Family
import Graphics.Badge.Barrier
import qualified Data.ByteString.Lazy.Char8 as L
main :: IO ()
main = do
L.writeFile "passing.svg" $ renderBadge flat "build" "passing"
L.writeFile "failing.svg" $ renderBadge (flat & right .~ red) "build" "failing"