-
Notifications
You must be signed in to change notification settings - Fork 17
/
hapistrano.cabal
131 lines (124 loc) · 5.25 KB
/
hapistrano.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
cabal-version: 1.18
name: hapistrano
version: 0.4.9.0
synopsis: A deployment library for Haskell applications
description:
.
Hapistrano makes it easy to reliably deploy Haskell applications
to a server.
.
Following popular libraries like Ruby's <https://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#readme the project readme on GitHub>
for more information.
.
license: MIT
license-file: LICENSE
author: Justin Leitgeb
maintainer: [email protected]
copyright: 2015-Present Stack Builders Inc.
category: System
homepage: https://github.com/stackbuilders/hapistrano
bug-reports: https://github.com/stackbuilders/hapistrano/issues
build-type: Simple
tested-with: GHC==9.6.6
extra-doc-files: CHANGELOG.md
, README.md
flag dev
description: Turn on development settings.
manual: True
default: False
flag static
description: Build a static binary.
manual: True
default: False
library
hs-source-dirs: src
exposed-modules: System.Hapistrano
, System.Hapistrano.Commands
, System.Hapistrano.Config
, System.Hapistrano.Core
, System.Hapistrano.Types
, System.Hapistrano.Commands.Internal
, System.Hapistrano.Maintenance
build-depends: aeson >= 2.0 && < 3.0
, ansi-terminal >= 0.9 && < 0.12
, base >= 4.9 && < 5.0
, directory >= 1.2.5 && < 1.4
, filepath >= 1.2 && < 1.5
, gitrev >= 1.2 && < 1.4
, mtl >= 2.0 && < 3.0
, megaparsec >= 9.0.0 && < 9.6.1
, stm >= 2.0 && < 2.6
, path >= 0.5 && < 1.0
, path-io >= 1.2 && < 1.9
, process >= 1.4 && < 1.7
, text >= 1.2 && < 3
, typed-process >= 0.2 && < 0.3
, time >= 1.5 && < 1.13
, transformers >= 0.4 && < 0.7
, exceptions >= 0.10 && < 0.11
, yaml >= 0.11.7 && < 0.12
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
executable hap
hs-source-dirs: app
main-is: Main.hs
other-modules: Paths_hapistrano
build-depends: async >= 2.0.1.6 && < 2.4
, base >= 4.9 && < 5.0
, formatting >= 6.2 && < 8.0
, gitrev >= 1.2 && < 1.4
, hapistrano
, optparse-applicative >= 0.11 && < 0.17
, stm >= 2.4 && < 2.6
, yaml >= 0.11.7 && < 0.12
if flag(dev)
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
else
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
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: spec
main-is: Spec.hs
other-modules: System.HapistranoSpec
, System.Hapistrano.ConfigSpec
, System.Hapistrano.InitSpec
, System.HapistranoPropsSpec
build-depends: base >= 4.9 && < 5.0
, aeson
, directory >= 1.2.5 && < 1.4
, filepath >= 1.2 && < 1.5
, hapistrano
, hspec >= 2.0 && < 3.0
, mtl >= 2.0 && < 3.0
, path
, path-io
, process >= 1.4 && < 1.7
, QuickCheck >= 2.5.1 && < 3.0
, silently >= 1.2 && < 1.3
, temporary >= 1.1 && < 1.4
, yaml >= 0.8.16 && < 0.12
build-tools: hspec-discover >= 2.0 && < 3.0
if flag(dev)
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Werror
else
ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2 -Wall
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/stackbuilders/hapistrano.git