2022-04-12 18:46:47 +03:00
|
|
|
cabal-version: 1.18
|
2014-05-21 03:28:58 +04:00
|
|
|
name: hapistrano
|
2022-04-13 00:09:48 +03:00
|
|
|
version: 0.4.4.0
|
2014-06-01 18:54:30 +04:00
|
|
|
synopsis: A deployment library for Haskell applications
|
2015-03-12 00:02:52 +03:00
|
|
|
description:
|
|
|
|
.
|
2015-03-13 06:11:21 +03:00
|
|
|
Hapistrano makes it easy to reliably deploy Haskell applications
|
|
|
|
to a server.
|
2015-03-12 00:02:52 +03:00
|
|
|
.
|
2015-03-13 06:11:21 +03:00
|
|
|
Following popular libraries like Ruby's <http://capistranorb.com/
|
|
|
|
Capistrano>, Hapistrano does the work of building the application
|
|
|
|
with dependencies into a distinct folder, and then atomically moves
|
|
|
|
a symlink to the latest complete build.
|
|
|
|
.
|
|
|
|
This allows for atomic switchovers to new application code after the
|
|
|
|
build is complete. Rollback is even simpler, since Hapistrano can
|
|
|
|
just point the `current` symlink to the previous release.
|
|
|
|
.
|
|
|
|
See <https://github.com/stackbuilders/hapistrano the project readme on GitHub>
|
|
|
|
for more information.
|
2015-03-12 00:02:52 +03:00
|
|
|
.
|
2014-05-21 03:28:58 +04:00
|
|
|
license: MIT
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Justin Leitgeb
|
2022-04-12 23:57:44 +03:00
|
|
|
maintainer: hackage@stackbuilders.com
|
2019-07-27 01:37:27 +03:00
|
|
|
copyright: 2015-Present Stack Builders Inc.
|
2014-05-21 03:28:58 +04:00
|
|
|
category: System
|
2015-09-09 21:17:59 +03:00
|
|
|
homepage: https://github.com/stackbuilders/hapistrano
|
|
|
|
bug-reports: https://github.com/stackbuilders/hapistrano/issues
|
2014-05-21 03:28:58 +04:00
|
|
|
build-type: Simple
|
2022-04-09 18:53:58 +03:00
|
|
|
tested-with: GHC==8.10.17, GHC==9.0.2
|
2022-04-12 18:46:47 +03:00
|
|
|
extra-doc-files: CHANGELOG.md
|
2017-01-29 17:54:22 +03:00
|
|
|
, README.md
|
2014-05-21 03:28:58 +04:00
|
|
|
|
2017-01-29 17:25:02 +03:00
|
|
|
flag dev
|
|
|
|
description: Turn on development settings.
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2018-05-05 19:55:47 +03:00
|
|
|
flag static
|
|
|
|
description: Build a static binary.
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
2014-06-01 18:54:30 +04:00
|
|
|
library
|
2015-09-09 21:17:59 +03:00
|
|
|
hs-source-dirs: src
|
2015-03-12 00:02:52 +03:00
|
|
|
exposed-modules: System.Hapistrano
|
2017-02-06 18:04:00 +03:00
|
|
|
, System.Hapistrano.Commands
|
2020-03-30 03:54:39 +03:00
|
|
|
, System.Hapistrano.Config
|
2017-02-06 18:04:00 +03:00
|
|
|
, System.Hapistrano.Core
|
|
|
|
, System.Hapistrano.Types
|
2019-11-11 21:01:17 +03:00
|
|
|
, System.Hapistrano.Commands.Internal
|
2022-04-19 22:03:17 +03:00
|
|
|
, System.Hapistrano.Maintenance
|
2021-11-17 05:42:17 +03:00
|
|
|
build-depends: aeson >= 2.0 && < 3.0
|
2020-08-13 23:10:30 +03:00
|
|
|
, ansi-terminal >= 0.9 && < 0.12
|
2021-10-18 18:08:11 +03:00
|
|
|
, base >= 4.9 && < 5.0
|
2017-01-29 17:25:02 +03:00
|
|
|
, filepath >= 1.2 && < 1.5
|
2017-12-27 05:46:44 +03:00
|
|
|
, gitrev >= 1.2 && < 1.4
|
2017-01-29 17:25:02 +03:00
|
|
|
, mtl >= 2.0 && < 3.0
|
2018-12-21 18:41:27 +03:00
|
|
|
, stm >= 2.0 && < 2.6
|
2021-06-01 03:36:23 +03:00
|
|
|
, path >= 0.5 && < 0.9
|
2017-08-09 00:57:17 +03:00
|
|
|
, process >= 1.4 && < 1.7
|
2018-12-21 18:41:27 +03:00
|
|
|
, typed-process >= 0.2 && < 0.3
|
2020-03-30 05:48:58 +03:00
|
|
|
, time >= 1.5 && < 1.11
|
2017-01-29 17:25:02 +03:00
|
|
|
, transformers >= 0.4 && < 0.6
|
2021-11-17 05:42:17 +03:00
|
|
|
, yaml >= 0.11.7 && < 0.12
|
2017-01-29 17:25:02 +03:00
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -Wall -Werror
|
|
|
|
else
|
|
|
|
ghc-options: -O2 -Wall
|
2015-09-09 21:17:59 +03:00
|
|
|
default-language: Haskell2010
|
2015-03-12 00:02:52 +03:00
|
|
|
|
2015-09-09 21:17:59 +03:00
|
|
|
executable hap
|
|
|
|
hs-source-dirs: app
|
|
|
|
main-is: Main.hs
|
2020-03-30 03:54:39 +03:00
|
|
|
other-modules: Paths_hapistrano
|
2021-11-17 05:42:17 +03:00
|
|
|
build-depends: aeson >= 2.0 && < 3.0
|
2018-02-05 18:45:56 +03:00
|
|
|
, async >= 2.0.1.6 && < 2.4
|
2021-10-18 18:08:11 +03:00
|
|
|
, base >= 4.9 && < 5.0
|
2021-03-22 05:29:18 +03:00
|
|
|
, formatting >= 6.2 && < 8.0
|
2017-12-27 05:46:44 +03:00
|
|
|
, gitrev >= 1.2 && < 1.4
|
2015-09-09 21:17:59 +03:00
|
|
|
, hapistrano
|
2022-01-27 17:19:02 +03:00
|
|
|
, mtl >= 2.0 && < 3.0
|
2020-08-14 05:29:47 +03:00
|
|
|
, optparse-applicative >= 0.11 && < 0.17
|
2021-06-01 03:36:23 +03:00
|
|
|
, path >= 0.5 && < 0.9
|
2020-03-19 05:02:15 +03:00
|
|
|
, path-io >= 1.2 && < 1.7
|
2018-09-24 16:32:40 +03:00
|
|
|
, stm >= 2.4 && < 2.6
|
2021-11-17 05:42:17 +03:00
|
|
|
, yaml >= 0.11.7 && < 0.12
|
2017-01-29 17:25:02 +03:00
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
|
|
|
|
else
|
2018-05-05 19:55:47 +03:00
|
|
|
if flag(static)
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2 -Wall -static -optl-static
|
|
|
|
else
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2 -Wall
|
2014-06-02 01:33:46 +04:00
|
|
|
default-language: Haskell2010
|
2015-03-12 00:02:52 +03:00
|
|
|
|
2017-02-06 18:04:00 +03:00
|
|
|
test-suite test
|
2015-09-09 21:17:59 +03:00
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
hs-source-dirs: spec
|
|
|
|
main-is: Spec.hs
|
|
|
|
other-modules: System.HapistranoSpec
|
2020-03-30 03:54:39 +03:00
|
|
|
, System.HapistranoConfigSpec
|
2019-11-11 21:01:17 +03:00
|
|
|
, System.HapistranoPropsSpec
|
2021-10-18 18:08:11 +03:00
|
|
|
build-depends: base >= 4.9 && < 5.0
|
2019-01-09 20:05:37 +03:00
|
|
|
, directory >= 1.2.5 && < 1.4
|
2017-01-29 17:25:02 +03:00
|
|
|
, filepath >= 1.2 && < 1.5
|
2015-09-09 21:17:59 +03:00
|
|
|
, hapistrano
|
2017-01-29 17:25:02 +03:00
|
|
|
, hspec >= 2.0 && < 3.0
|
|
|
|
, mtl >= 2.0 && < 3.0
|
2021-06-01 03:36:23 +03:00
|
|
|
, path >= 0.5 && < 0.9
|
2020-03-19 05:02:15 +03:00
|
|
|
, path-io >= 1.2 && < 1.7
|
2017-08-09 00:57:17 +03:00
|
|
|
, process >= 1.4 && < 1.7
|
2018-10-19 22:01:28 +03:00
|
|
|
, QuickCheck >= 2.5.1 && < 3.0
|
2018-12-21 18:41:27 +03:00
|
|
|
, silently >= 1.2 && < 1.3
|
2018-04-11 18:25:31 +03:00
|
|
|
, temporary >= 1.1 && < 1.4
|
2020-03-30 03:54:39 +03:00
|
|
|
, yaml >= 0.8.16 && < 0.12
|
2019-10-28 21:40:35 +03:00
|
|
|
build-tools: hspec-discover >= 2.0 && < 3.0
|
|
|
|
|
2017-01-29 17:25:02 +03:00
|
|
|
if flag(dev)
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
|
|
|
|
else
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2 -Wall
|
2015-03-12 00:02:52 +03:00
|
|
|
default-language: Haskell2010
|
2014-06-04 15:40:08 +04:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
2017-02-06 18:04:00 +03:00
|
|
|
location: https://github.com/stackbuilders/hapistrano.git
|