Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 336c363

Browse files
authored
Create a MiniGo library product. (#141)
* Create a MiniGo library product for use with Colab import. * Rename `MiniGoMain` to `MiniGoDemo`.
1 parent 4a50e01 commit 336c363

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Package.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ let package = Package(
99
.executable(name: "MNIST", targets: ["MNIST"]),
1010
.executable(name: "CIFAR", targets: ["CIFAR"]),
1111
.executable(name: "ResNet", targets: ["ResNet"]),
12-
.executable(name: "MiniGo", targets: ["MiniGo", "MiniGoMain"]),
12+
.executable(name: "MiniGoDemo", targets: ["MiniGoDemo"]),
13+
.library(name: "MiniGo", targets: ["MiniGo"]),
1314
],
1415
targets: [
1516
.target(name: "Autoencoder", path: "Autoencoder"),
@@ -19,7 +20,8 @@ let package = Package(
1920
.target(name: "Gym-CartPole", path: "Gym/CartPole"),
2021
.target(name: "MNIST", path: "MNIST"),
2122
.target(name: "MiniGo", path: "MiniGo", exclude: ["main.swift"]),
22-
.target(name: "MiniGoMain", dependencies: ["MiniGo"], path: "MiniGo", sources: ["main.swift"]),
23+
.target(name: "MiniGoDemo", dependencies: ["MiniGo"], path: "MiniGo",
24+
sources: ["main.swift"]),
2325
.testTarget(name: "MiniGoTests", dependencies: ["MiniGo"]),
2426
.target(name: "ResNet", path: "ResNet"),
2527
.target(name: "Transformer", path: "Transformer"),

0 commit comments

Comments
 (0)