Issue #31 resolved
As noted in https://bitbucket.org/nomeata/arbtt/issues/26#comment-21960873, the latest version of arbtt does not compile on windows, as it uses the
unix library in a few places, namely:
src/stats-main.hsto get the size of the logfile (
fileSize <$> getFileStatus (optLogFile flags))
src/TimeLog.hs, to make sure the log file is readable only by the current user.
TZ=UTCso that the tests run with a determined timezone.
For these we need to decide whether
- there is a portable way to do it, or
- they can simply be skipped on windows (e.g. using CPP), or
- they can be implemented differently on windows, and the right code to be selected with