From 66977f6beb64e43975d2fea09187e50b796ddfa3 Mon Sep 17 00:00:00 2001 From: PHO Date: Thu, 1 Oct 2009 13:26:42 +0900 Subject: [PATCH] small changes --- GNUmakefile | 2 ++ Main.hs | 9 +++++++++ pkg-find-outdated-cabal.cabal | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Main.hs diff --git a/GNUmakefile b/GNUmakefile index 2028fce..9445d87 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,3 +1,5 @@ +RUN_COMMAND = ./dist/build/pkg-find-outdated-cabal/pkg-find-outdated-cabal + CONFIGURE_ARGS = -O include cabal-package.mk diff --git a/Main.hs b/Main.hs new file mode 100644 index 0000000..bb96adf --- /dev/null +++ b/Main.hs @@ -0,0 +1,9 @@ +module Main (main) where + +import System.Directory + +main :: IO () +main = do appDir <- getAppUserDataDirectory "pkg-find-outdated-cabal" + createDirectoryIfMissing False appDir + + putStrLn appDir diff --git a/pkg-find-outdated-cabal.cabal b/pkg-find-outdated-cabal.cabal index 22742c9..9bb92f1 100644 --- a/pkg-find-outdated-cabal.cabal +++ b/pkg-find-outdated-cabal.cabal @@ -18,7 +18,7 @@ Source-Repository head Executable pkg-find-outdated-cabal Build-Depends: - Cabal, base >= 4 && < 5 + Cabal, HTTP, base >= 4 && < 5, directory Main-Is: Main.hs ghc-options: -- 2.40.0