Skip to content

Commit 9c68f48

Browse files
author
CI
committed
Sync to GitHub
1 parent 0dc7253 commit 9c68f48

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,16 @@ The package can be installed by adding `bacstack` to your list of dependencies i
2929
```elixir
3030
def deps do
3131
[
32-
{:bacstack, github: "bacnet-ex/bacstack"}
32+
{:bacstack, github: "bacnet-ex/bacstack", env: Mix.env()}
3333
]
3434
end
3535
```
3636

37+
The `env: Mix.env() ` part is recommended to add, so in development you get some more validation (i.e. `BACnet.Stack.Client.send`)
38+
and in production you get better performance.
39+
You should test both development and production builds before shipping to production.
40+
If you omit `env`, then the library will be compiled in `prod` environment by Mix.
41+
3742
The documentation can be found at <https://bacnet-ex.github.io/bacstack/>.
3843

3944
<!--

0 commit comments

Comments
 (0)