summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--acme-encrypt.cabal39
-rw-r--r--stack.yaml32
3 files changed, 72 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8ee1bf9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
.stack-work
diff --git a/acme-encrypt.cabal b/acme-encrypt.cabal
new file mode 100644
index 0000000..371f8fe
--- /dev/null
+++ b/acme-encrypt.cabal
@@ -0,0 +1,39 @@
1name: acme-encrypt
2version: 0.1.0.0
3synopsis: Get a certificate using Let's Encrypt ACME protocol
4description: Please see README.md
5homepage: https://github.com/noteed/acme
6author: Vo Minh Thu
7maintainer: noteed@gmail.com
8copyright: 2016 Vo Minh Thu
9category: Web
10build-type: Simple
11-- extra-source-files:
12cabal-version: >=1.10
13
14-- library
15-- hs-source-dirs: src
16-- exposed-modules: Lib
17-- build-depends: base >= 4.7 && < 5
18-- default-language: Haskell2010
19
20executable acme-encrypt-exe
21 -- hs-source-dirs: app
22 main-is: acme.hs
23 ghc-options: -threaded -rtsopts -with-rtsopts=-N
24 build-depends: base, cryptonite, aeson, bytestring, base64-bytestring, SHA, text, HsOpenSSL, process
25 -- , acme-encrypt
26 default-language: Haskell2010
27
28-- test-suite acme-encrypt-test
29-- type: exitcode-stdio-1.0
30-- hs-source-dirs: test
31-- main-is: Spec.hs
32-- build-depends: base
33-- , acme-encrypt
34-- ghc-options: -threaded -rtsopts -with-rtsopts=-N
35-- default-language: Haskell2010
36
37-- source-repository head
38-- type: git
39-- location: https://github.com/githubuser/acme-encrypt
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
index 0000000..2639f7b
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,32 @@
1# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
2
3# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
4resolver: lts-4.1
5
6# Local packages, usually specified by relative directory name
7packages:
8- '.'
9
10# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
11extra-deps: []
12
13# Override default flag values for local packages and extra-deps
14flags: {}
15
16# Extra package databases containing global packages
17extra-package-dbs: []
18
19# Control whether we use the GHC we find on the path
20# system-ghc: true
21
22# Require a specific version of stack, using version ranges
23# require-stack-version: -any # Default
24# require-stack-version: >= 1.0.0
25
26# Override the architecture used by stack, especially useful on Windows
27# arch: i386
28# arch: x86_64
29
30# Extra directories used by stack for building
31# extra-include-dirs: [/path/to/dir]
32# extra-lib-dirs: [/path/to/dir]