Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Visciano committed Jul 23, 2021
1 parent 3ff0620 commit 0dba5a4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ end

Typespecs should be included in the compiled ebin.

Set the `:strip_beams` option to `false` when compiling your project with mix release.
Set the `:strip_beams` option to `false` when compiling your project with mix release or mix escript.

```elixir
def project do
Expand All @@ -100,7 +100,20 @@ def project do
deps: deps(),
releases: [
my_app: [strip_beams: false]
]
],
...
]
end

def project do
[
app: :my_script,
deps: deps(),
escript: [
strip_beams: false,
...
],
...
]
end
```
Expand Down

0 comments on commit 0dba5a4

Please sign in to comment.