Skip to content

Porcelain with destillary #32

@eidge

Description

@eidge

Hello I'm trying to produce a release with distillery with goon bundle in the release itself.

Since one can't use :code.priv_dir(:app) in config.exs, I tried adding this to my application bootstrap code:

Application.put_env(:porcelain, :goon_driver_path, Path.join(:code.priv_dir(:app), 'goon'))
:ok = Porcelain.reinit(:goon)

I've checked the correct path is being generated, but porcelain still complains it can't find goon.

Any ideas on how to solve this? Or any other strategy for bundling goon in the release itself?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions