|
1 | 1 | name: dotenv |
2 | | -version: 0.10.0.0 |
| 2 | +version: 0.10.0.1 |
3 | 3 | synopsis: Loads environment variables from dotenv files |
4 | 4 | homepage: https://github.com/stackbuilders/dotenv-hs |
5 | 5 | description: |
6 | 6 | . |
7 | 7 | In most applications, |
8 | | - <http://12factor.net/config configuration should be separated from code>. |
| 8 | + <https://12factor.net/config configuration should be separated from code>. |
9 | 9 | While it usually works well to keep configuration in the |
10 | 10 | environment, there are cases where you may want to store |
11 | 11 | configuration in a file outside of version control. |
12 | 12 | . |
13 | | - "Dotenv" files have become popular for storing configuration, |
| 13 | + @Dotenv@ files have become popular for storing configuration, |
14 | 14 | especially in development and test environments. In |
15 | 15 | <https://github.com/bkeepers/dotenv Ruby>, |
16 | 16 | <https://github.com/theskumar/python-dotenv Python> and |
17 | | - <https://www.npmjs.com/package/dotenv Javascript> there are libraries |
| 17 | + <https://www.npmjs.com/package/dotenv JavaScript> there are libraries |
18 | 18 | to facilitate loading of configuration options from configuration |
19 | 19 | files. This library loads configuration to environment variables for |
20 | 20 | programs written in Haskell. |
21 | 21 | . |
22 | 22 | To use, call `loadFile` from your application: |
23 | 23 | . |
24 | | - > import Control.Monad (void) |
25 | 24 | > import Configuration.Dotenv |
26 | | - > void $ loadFile defaultConfig |
| 25 | + > loadFile defaultConfig |
27 | 26 | . |
28 | 27 | This package also includes an executable that can be used |
29 | 28 | to inspect the results of applying one or more Dotenv files |
30 | 29 | to the environment, or for invoking your executables with |
31 | 30 | an environment after one or more Dotenv files is applied. |
32 | 31 | . |
33 | | - See the <https://github.com/stackbuilders/dotenv-hs Github> |
| 32 | + See the <https://github.com/stackbuilders/dotenv-hs#readme Github> |
34 | 33 | page for more information on this package. |
35 | 34 | license: MIT |
36 | 35 | license-file: LICENSE |
37 | 36 | author: Justin Leitgeb |
38 | 37 | maintainer: hackage@stackbuilders.com |
39 | | -copyright: 2015-2020 Stack Builders Inc. |
| 38 | +copyright: 2015-Present Stack Builders Inc. |
40 | 39 | category: Configuration |
41 | 40 | build-type: Simple |
42 | 41 | extra-source-files: spec/fixtures/.dotenv |
@@ -97,6 +96,7 @@ library |
97 | 96 | , shellwords >= 0.1.3.0 |
98 | 97 | , text |
99 | 98 | , exceptions >= 0.8 && < 0.11 |
| 99 | + , mtl >= 2.3 && < 2.4 |
100 | 100 |
|
101 | 101 | hs-source-dirs: src |
102 | 102 | ghc-options: -Wall |
@@ -132,6 +132,7 @@ test-suite dotenv-test |
132 | 132 | , text |
133 | 133 | , exceptions >= 0.8 && < 0.11 |
134 | 134 | , hspec-megaparsec >= 2.0 && < 3.0 |
| 135 | + , mtl |
135 | 136 |
|
136 | 137 | build-tools: hspec-discover >= 2.0 && < 3.0 |
137 | 138 |
|
|
0 commit comments