From: PHO Date: Thu, 1 Oct 2009 04:26:42 +0000 (+0900) Subject: small changes X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=66977f6beb64e43975d2fea09187e50b796ddfa3;p=pkg-find-outdated-cabal.git small changes --- 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: