Commits

Aleksey Khudyakov committed fbd3c08

Cabal want different directory structure from hacakge

  • Participants
  • Parent commits 5541733

Comments (0)

Files changed (1)

       version          = pkgVersion pkg
       -- Pathes
       dirPath   = name ++ "/" ++ display version ++ "/"
-      tarDir    = dir ++ "/" ++ dirPath
+      indexPath = dirPath ++ name ++ ".cabal"
+
+      tarDir    = dir ++ "/package/"
       tarPath   = tarDir ++ name ++ "-" ++ display version ++ ".tar.gz"
-      indexPath = dirPath ++ name ++ ".cabal"
   -- Append file to index
   appendToTar (dir ++ "/" ++ "00-index.tar.gz") indexPath cabal
   -- Write file to directory