Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
{-# LANGUAGE RankNTypes #-} | |
import Control.Concurrent | |
import Control.Monad.Fix | |
import Control.Monad.IO.Class | |
import Control.Wire.Core | |
import Control.Wire.Session | |
import Data.Functor.Identity | |
import System.IO | |
import Control.Wire | |
import Prelude hiding ((.), id) |
#!/bin/bash | |
S3_LOG_LOCATION="s3://thelogbucket/logdir" | |
LOCAL_LOG_LOCATION="/tmp/log/" | |
REPORT_TITLE="My report title" | |
HTML_OUTPUT_DIR="/tmp/reporthtml" | |
REPORT="/tmp/report.ps" | |
# Sync log files to a local directory | |
s3cmd -v sync ${S3_LOG_LOCATION} ${LOCAL_LOG_LOCATION} |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)