Skip to content

Commit beed8d0

Browse files
author
Colin Tremblay
committed
use the dependency on argon2 instead of the submodule
1 parent fd69d25 commit beed8d0

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

Package.swift

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,14 @@ let package = Package(
1414
],
1515
dependencies: [
1616
// Dependencies declare other packages that this package depends on.
17-
// .package(url: /* package url */, from: "1.0.0"),
17+
.package(
18+
name: "Argon2",
19+
url: "https://github.com/P-H-C/phc-winner-argon2.git", .branch("master")
20+
)
1821
],
1922
targets: [
2023
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2124
// Targets can depend on other targets in this package, and on products in packages this package depends on.
22-
.target(
23-
name: "Argon2",
24-
dependencies: [],
25-
path: "Sources/Argon2",
26-
exclude: [
27-
"Sources/Argon2/kats",
28-
"Sources/Argon2/vs2015",
29-
"Sources/Argon2/src/blake2/blamka-round-opt.h",
30-
"Sources/Argon2/src/run.c",
31-
"Sources/Argon2/src/test.c",
32-
"Sources/Argon2/src/opt.c",
33-
"Sources/Argon2/src/bench.c",
34-
"Sources/Argon2/src/genkat.c",
35-
"Sources/Argon2/src/genkat.h"
36-
]),
3725
.target(
3826
name: "Argon2Swift",
3927
dependencies: ["Argon2"],

0 commit comments

Comments
 (0)