packages feed

neil 0.7 → 0.8

raw patch · 3 files changed

+7/−6 lines, 3 files

Files

neil.cabal view
@@ -1,7 +1,7 @@ cabal-version:      >= 1.6 build-type:         Simple name:               neil-version:            0.7+version:            0.8 license:            BSD3 license-file:       LICENSE category:           Development@@ -33,7 +33,7 @@     if flag(small)         cpp-options: -DSMALL     else-        build-depends: json, GoogleChart, old-time+        build-depends: GoogleChart, old-time, json      main-is:            Main.hs 
src/Arguments.hs view
@@ -13,7 +13,7 @@     | Send {repo :: FilePath, patch :: FilePath}     | Apply {patch :: FilePath}     | Tag-    | Docs {username :: String}+    | Docs {username :: String, host :: String}      | Travis {wait :: Double}  @@ -42,7 +42,7 @@           &= help "Create a cabal sdist with extra checks"     ,Tag {} &= help "Tag the repo, after a release"     ,Check-    ,Docs {username = "NeilMitchell"}+    ,Docs {username = "NeilMitchell", host = "https://hackage.haskell.org"}     ,Travis {wait = 0 &= help "Time to wait after each wget request"}     ,Test {install = False &= help "Install after building"}     ]
src/Cabal.hs view
@@ -64,7 +64,8 @@         system_ "cabal install --only-dependencies"         system_ $ "cabal configure --enable-tests --disable-library-profiling " ++               "--ghc-option=-fwarn-unused-binds --ghc-option=-fwarn-unused-imports " ++-              "--ghc-option=-Werror --ghc-option=-fno-warn-warnings-deprecations" -- CABAL BUG WORKAROUND :(+              "--ghc-option=-fwarn-tabs " +++              "--ghc-option=-Werror"         system_ "cabal build"         system_ "cabal test --show-details=always"         when install $@@ -112,7 +113,7 @@               "-H \"Content-Encoding: gzip\" " ++               "-u " ++ username ++ " " ++               "--data-binary \"@" ++ dir ++ "/" ++ name ++ "-" ++ ver ++ "-docs.tar.gz\" " ++-              "https://hackage.haskell.org/package/" ++ name ++ "-" ++ ver ++ "/docs"+              host ++ "/package/" ++ name ++ "-" ++ ver ++ "/docs"  run _ = Nothing