Rename binary
This commit is contained in:
parent
2931f7039e
commit
29fdc41817
2 changed files with 8 additions and 7 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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"),
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue