Skip to content

Commit

Permalink
Merge 0826fae into e8daf02
Browse files Browse the repository at this point in the history
  • Loading branch information
adinapoli committed Apr 2, 2020
2 parents e8daf02 + 0826fae commit f3fc7bb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 107 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -17,3 +17,5 @@ scott-test.*
example/Main.hi
example/Main.o
ridley-extras/dist
tags
dist-newstyle
2 changes: 2 additions & 0 deletions cabal.project
@@ -0,0 +1,2 @@
packages: ridley
ridley-extras
3 changes: 1 addition & 2 deletions ridley/ridley.cabal
Expand Up @@ -58,8 +58,7 @@ library
if flag(lib-Werror)
ghc-options: -Wall -Werror
if os(darwin)
c-sources: src/System/Metrics/Prometheus/Ridley/Metrics/Network/Darwin.c
src/System/Metrics/Prometheus/Ridley/Metrics/CPU/Darwin.c
c-sources: src/System/Metrics/Prometheus/Ridley/Metrics/CPU/Darwin.c
other-modules: System.Metrics.Prometheus.Ridley.Metrics.Network.Darwin
System.Metrics.Prometheus.Ridley.Metrics.CPU.Darwin
else
Expand Down
3 changes: 2 additions & 1 deletion ridley/src/System/Metrics/Prometheus/Ridley/Metrics/CPU.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE CPP #-}
module System.Metrics.Prometheus.Ridley.Metrics.CPU
( processCPULoad
( getLoadAvg
, processCPULoad
) where

#ifdef darwin_HOST_OS
Expand Down
104 changes: 0 additions & 104 deletions ridley/src/System/Metrics/Prometheus/Ridley/Metrics/Network/Darwin.c

This file was deleted.

0 comments on commit f3fc7bb

Please sign in to comment.