Rename binary

This commit is contained in:
Gabriel Augendre 2020-07-05 15:42:52 +02:00
parent 2931f7039e
commit 29fdc41817
No known key found for this signature in database
GPG Key ID: 1E693F4CE4AEE7B4
2 changed files with 8 additions and 7 deletions

View File

@ -6,10 +6,10 @@ build:
swift build -c release --disable-sandbox
install: build
install ".build/release/aerc-contacts-cli" "$(bindir)"
install ".build/release/aerc-contacts" "$(bindir)"
uninstall:
rm -rf "$(bindir)/aerc-contacts-cli"
rm -rf "$(bindir)/aerc-contacts"
clean:
rm -rf .build

View File

@ -4,12 +4,12 @@
import PackageDescription
let package = Package(
name: "aerc-contacts-cli",
name: "aerc-contacts",
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "aerc-contacts-cli",
targets: ["aerc-contacts-cli"]),
name: "aerc-contacts",
targets: ["aerc-contacts"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
@ -19,7 +19,8 @@ let package = Package(
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "aerc-contacts-cli",
dependencies: []),
name: "aerc-contacts",
dependencies: [],
path: "Sources/aerc-contacts-cli"),
]
)