Skip to content

Helper to strip and zip beam files for production Erlang/Elixir releases.

License

Notifications You must be signed in to change notification settings

ntrepid8/ex_strip_zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExStripZip

A helper to strip and zip beam files in Erlang/Elixir releases.

Build

To build ExStripZip change to the repo directory and do this:

$ mix escript.build

To build for prod do this:

$ MIX_ENV=prod mix escript.build

Usage

Always use the strip function first if you are going to both strip && zip. Use the strip function like this:

$ ./ex_strip_zip strip /path/to/erl_dist

To use the zip function do this:

$ ./ex_strip_zip zip /path/to/erl_dist

Installation

If available in Hex, the package can be installed as:

  1. Add ex_strip_zip to your list of dependencies in mix.exs:

    def deps do [{:ex_strip_zip, "~> 0.0.1"}] end

  2. Ensure ex_strip_zip is started before your application:

    def application do [applications: [:ex_strip_zip]] end

About

Helper to strip and zip beam files for production Erlang/Elixir releases.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages