summaryrefslogtreecommitdiff
path: root/kf5-deps.hs
diff options
context:
space:
mode:
Diffstat (limited to 'kf5-deps.hs')
-rw-r--r--kf5-deps.hs20
1 files changed, 20 insertions, 0 deletions
diff --git a/kf5-deps.hs b/kf5-deps.hs
new file mode 100644
index 0000000..637d352
--- /dev/null
+++ b/kf5-deps.hs
@@ -0,0 +1,20 @@
+{-# LANGUAGE OverloadedStrings #-}
+
+module Main where
+
+import Control.Monad.State
+import Data.Monoid
+
+import Autonix.Analyze
+import Autonix.Args
+import Autonix.Deps
+import Autonix.Generate
+import Autonix.KF5
+
+main :: IO ()
+main = withArgs $ \manifest renames -> flip evalStateT mempty $ do
+ rename "ECM" "extra-cmake-modules"
+ analyzePackages (analyzeFiles kf5Analyzers) manifest renames
+ kf5PostAnalyze
+ get >>= writeDeps
+ get >>= writeRenames