haskell-turtle-library/slides/go
2015-05-04 16:01:30 -07:00

12 lines
384 B
Haskell
Executable file

#!/usr/bin/env runhaskell
{-# LANGUAGE OverloadedStrings #-}
import Turtle
main = do
-- Add the `--self-contained` flag for slower but relocatable builds
proc "pandoc" ["-t", "slidy", "-s", "slides.md", "-o", "slides.html"] empty
-- This is for Firefox on OSX, replace this with your favorite browser
proc "open" ["/Applications/Firefox.app", "slides.html"] empty