ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Add aliases for ldmd2, ldc-profdata and ldc-prune-cache to 1.1.x release #27

Closed WebDrake closed 7 years ago

WebDrake commented 7 years ago

This should make it possible for users to invoke these commands in the normal way instead of via ldc2.appname. Note that the user must still explicitly request the alias be enabled, e.g.:

sudo snap alias ldc2 ldmd2

... after which it should be possible to call ldmd2 as usual.

This patch was already committed to the 1.2.x release series, but it seems worth backporting, even though the 1.1.1 release is still manual-only in its builds due to https://bugs.launchpad.net/launchpad-buildd/+bug/1663920.