mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 21:32:52 +00:00
[PR #135] [MERGED] Install a symlink to the main executable in /usr/local/bin #252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/135
Author: @qmfrederik
Created: 12/2/2019
Status: ✅ Merged
Merged: 12/2/2019
Merged by: @qmfrederik
Base:
master← Head:features/bin-symlink📝 Commits (7)
ac4d631Add symlink to main executable in /usr/local/binef3110dUpdate testsbdf1328Update unit tets5e16673RPM: Add support for symlinksd522a6aFix symlink in cpio file3884bd5Properly set symlink file sizeed963b0Fix typo📊 Changes
12 files changed (+162 additions, -9 deletions)
View changed files
📝
Packaging.Targets.Tests/ArchiveBuilderTests.cs(+53 -2)📝
Packaging.Targets/ArchiveBuilder.cs(+22 -4)📝
Packaging.Targets/DebTask.cs(+8 -0)📝
Packaging.Targets/IO/CpioFileCreator.cs(+44 -0)📝
Packaging.Targets/IO/TarFileCreator.cs(+2 -2)📝
Packaging.Targets/Rpm/RpmMetadata.cs(+1 -1)📝
Packaging.Targets/Rpm/RpmPackageCreator.cs(+10 -0)📝
Packaging.Targets/RpmTask.cs(+9 -0)📝
Packaging.Targets/TarballTask.cs(+1 -0)📝
Packaging.Targets/build/Packaging.Targets.targets(+4 -0)📝
molecule/framework-dependent/molecule/default/tests/test_default.py(+4 -0)📝
molecule/self-contained/molecule/default/tests/test_default.py(+4 -0)📄 Description
.NET Core applications now include an "app host", that is, a native executable which loads the .NET Runtime and then invokes the managed executable.
This PR adds a symlink to
/usr/local/bin/$(assemblyName)which links to$(prefix)/$(assemblyName). This means that (in most environments) the project will be executable using just$(assemblyName):Fixes #31
Fixes #101
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.