dub icon indicating copy to clipboard operation
dub copied to clipboard

add `dub publish` / `dub release`

Open WebFreak001 opened this issue 4 years ago • 0 comments
trafficstars

This is an idea to add something similar to dotnet publish to DUB

In its simplest form it would be a lot like just dub build - the differences would be:

  • add suffix / different folder for each platform/architecture
  • option to include lib[lg]?phobos.(dylib|so|dll) in the output path (self contained executables)
  • extra distribution ideas:
    • building AppImages
    • building snaps (see #999)

additional future ideas:

  • potentially support cross compilation

use cases include:

  • generating ready-to-share folders (zippable) for application distribution
  • batch-creating libraries for a variety of operating systems and architectures easily (like for using with autowrap)

WebFreak001 avatar Nov 11 '21 14:11 WebFreak001