haskell / haskell/cabal

Add cabal bindist

Open
#1,801 1 comment 0 reactions 0 assignees View on GitHub
old-milestone: cabal-install 2.0 type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Add a new command `cabal bindist` that would create a unit that can be distributed (e.g. create a directory containing stripped executables and data files) to e.g. servers and/or users. `bindist` would essentially just invoke `copy` with the correct arguments.

/cc @dcoutts

Contributor guide

Open the contributing guide

Research direction

Start at the existing `cabal copy` command and its command-line entry point, since the issue says `bindist` should invoke `copy` with different arguments. Determine the correct arguments and distribution layout for stripped executables and data files, then verify that `cabal bindist` produces a deployable directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
build-system, cli, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.