]> gitweb @ CieloNegro.org - pkg-find-outdated-cabal.git/commitdiff
small changes
authorPHO <pho@cielonegro.org>
Thu, 1 Oct 2009 04:26:42 +0000 (13:26 +0900)
committerPHO <pho@cielonegro.org>
Thu, 1 Oct 2009 04:26:42 +0000 (13:26 +0900)
GNUmakefile
Main.hs [new file with mode: 0644]
pkg-find-outdated-cabal.cabal

index 2028fce392a2b60db83aa648c284bd5fd3fd0ffe..9445d87505d8dfadb9dad16d7ceb7a7f6a201a2e 100644 (file)
@@ -1,3 +1,5 @@
+RUN_COMMAND = ./dist/build/pkg-find-outdated-cabal/pkg-find-outdated-cabal
+
 CONFIGURE_ARGS = -O
 
 include cabal-package.mk
 CONFIGURE_ARGS = -O
 
 include cabal-package.mk
diff --git a/Main.hs b/Main.hs
new file mode 100644 (file)
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
index 22742c9f3cae8da8bb74babc337eb72110992bc4..9bb92f1a91c7c5b60e06f14a3d510fe186bd4077 100644 (file)
@@ -18,7 +18,7 @@ Source-Repository head
 
 Executable pkg-find-outdated-cabal
     Build-Depends:
 
 Executable pkg-find-outdated-cabal
     Build-Depends:
-        Cabal, base >= 4 && < 5
+        Cabal, HTTP, base >= 4 && < 5, directory
     Main-Is:
         Main.hs
     ghc-options:
     Main-Is:
         Main.hs
     ghc-options: