2014-05-21 03:28:58 +04:00
|
|
|
name: hapistrano
|
2018-10-19 22:01:28 +03:00
|
|
|
version: 0.3.7.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
|
2018-09-24 17:04:02 +03:00
|
|
|
maintainer: jpaucar@stackbuilders.com
|
2018-05-22 17:03:00 +03:00
|
|
|
copyright: 2015-2018 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
|
2018-04-21 19:41:38 +03:00
|
|
|
cabal-version: >=1.18
|
2018-09-24 16:32:40 +03:00
|
|
|
tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.3, GHC==8.6.1
|
2017-01-29 17:54:22 +03:00
|
|
|
extra-source-files: CHANGELOG.md
|
|
|
|
, README.md
|
2018-05-22 17:03:00 +03:00
|
|
|
, Dockerfile
|
2017-02-06 18:04:00 +03:00
|
|
|
data-files: script/clean-build.sh
|
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
|
|
|
|
, System.Hapistrano.Core
|
|
|
|
, System.Hapistrano.Types
|
2018-10-19 22:01:28 +03:00
|
|
|
build-depends: aeson >= 0.11 && < 1.5
|
|
|
|
, base >= 4.8 && < 5.0
|
2017-01-29 17:25:02 +03:00
|
|
|
, filepath >= 1.2 && < 1.5
|
2017-12-27 05:46:44 +03:00
|
|
|
, formatting >= 6.2 && < 7.0
|
|
|
|
, gitrev >= 1.2 && < 1.4
|
2017-01-29 17:25:02 +03:00
|
|
|
, mtl >= 2.0 && < 3.0
|
2017-08-08 18:41:41 +03:00
|
|
|
, path >= 0.5 && < 0.7
|
2017-08-09 00:57:17 +03:00
|
|
|
, process >= 1.4 && < 1.7
|
|
|
|
, time >= 1.5 && < 1.9
|
2017-01-29 17:25:02 +03:00
|
|
|
, transformers >= 0.4 && < 0.6
|
|
|
|
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
|
2017-02-20 17:33:12 +03:00
|
|
|
other-modules: Config
|
2017-08-09 00:57:17 +03:00
|
|
|
, Paths_hapistrano
|
2018-06-11 07:41:49 +03:00
|
|
|
build-depends: aeson >= 0.11 && < 1.5
|
2018-02-05 18:45:56 +03:00
|
|
|
, async >= 2.0.1.6 && < 2.4
|
2017-08-09 23:24:50 +03:00
|
|
|
, base >= 4.8 && < 5.0
|
2017-12-27 05:46:44 +03:00
|
|
|
, formatting >= 6.2 && < 7.0
|
|
|
|
, gitrev >= 1.2 && < 1.4
|
2015-09-09 21:17:59 +03:00
|
|
|
, hapistrano
|
2017-06-13 20:47:45 +03:00
|
|
|
, optparse-applicative >= 0.11 && < 0.15
|
2017-08-08 18:41:41 +03:00
|
|
|
, path >= 0.5 && < 0.7
|
2018-07-24 17:05:19 +03:00
|
|
|
, path-io >= 1.2 && < 1.5
|
2018-09-24 16:32:40 +03:00
|
|
|
, stm >= 2.4 && < 2.6
|
2018-10-14 19:42:03 +03:00
|
|
|
, yaml >= 0.8.16 && < 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
|
2017-08-09 23:24:50 +03:00
|
|
|
build-depends: base >= 4.8 && < 5.0
|
2017-01-29 17:25:02 +03:00
|
|
|
, directory >= 1.2.2 && < 1.4
|
|
|
|
, 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
|
2017-08-08 18:41:41 +03:00
|
|
|
, path >= 0.5 && < 0.7
|
2018-08-20 18:40:25 +03:00
|
|
|
, path-io >= 1.2 && < 1.5
|
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-04-11 18:25:31 +03:00
|
|
|
, temporary >= 1.1 && < 1.4
|
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
|