Skip to content

Documentation on Mix.install based release is misleading #1255

@narslan

Description

@narslan

The README states that the scripts are copied to <release_dir>,
but the task appears to remove the directory contents before copying.
Is this intended behavior?

Specifically, this sentence seems incorrect:
"This copies language server and debugger adapter launch scripts to the <release_dir> and includes a VERSION manifest file."

Reproduction:

mkdir /tmp/test_release                                                                              1 ↵
touch /tmp/test_release/important_file
MIX_ENV=prod mix elixir_ls.release2 -o /tmp/test_release
ls /tmp/test_release

Expected behavior: the file important_file should remain.
Observed behavior: the directory is cleared before the scripts are copied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions