@@ -22,8 +22,8 @@ import PackageDescription
2222
2323let releaseVersion = ProcessInfo . processInfo. environment [ " RELEASE_VERSION " ] ?? " 0.0.0 "
2424let gitCommit = ProcessInfo . processInfo. environment [ " GIT_COMMIT " ] ?? " unspecified "
25- let scVersion = " 0.5.0 "
2625let builderShimVersion = " 0.6.0 "
26+ let scVersion = " 0.5.0 "
2727
2828let package = Package (
2929 name: " container " ,
@@ -37,6 +37,7 @@ let package = Package(
3737 . library( name: " ContainerLog " , targets: [ " ContainerLog " ] ) ,
3838 . library( name: " ContainerPersistence " , targets: [ " ContainerPersistence " ] ) ,
3939 . library( name: " ContainerPlugin " , targets: [ " ContainerPlugin " ] ) ,
40+ . library( name: " ContainerVersion " , targets: [ " ContainerVersion " ] ) ,
4041 . library( name: " ContainerXPC " , targets: [ " ContainerXPC " ] ) ,
4142 . library( name: " SocketForwarder " , targets: [ " SocketForwarder " ] ) ,
4243 . library( name: " ContainerBuildReporting " , targets: [ " ContainerBuildReporting " ] ) ,
@@ -70,13 +71,13 @@ let package = Package(
7071 . product( name: " Containerization " , package : " containerization " ) ,
7172 . product( name: " ContainerizationOCI " , package : " containerization " ) ,
7273 . product( name: " ContainerizationOS " , package : " containerization " ) ,
73- " CVersion " ,
74- " TerminalProgress " ,
7574 " ContainerBuild " ,
7675 " ContainerClient " ,
76+ " ContainerLog " ,
7777 " ContainerPersistence " ,
7878 " ContainerPlugin " ,
79- " ContainerLog " ,
79+ " ContainerVersion " ,
80+ " TerminalProgress " ,
8081 ] ,
8182 path: " Sources/CLI "
8283 ) ,
@@ -90,14 +91,14 @@ let package = Package(
9091 . product( name: " Containerization " , package : " containerization " ) ,
9192 . product( name: " ContainerizationExtras " , package : " containerization " ) ,
9293 . product( name: " ContainerizationOS " , package : " containerization " ) ,
93- " CVersion " ,
94- " DNSServer " ,
95- " ContainerNetworkService " ,
96- " ContainerSandboxService " ,
9794 " ContainerClient " ,
9895 " ContainerLog " ,
96+ " ContainerNetworkService " ,
9997 " ContainerPersistence " ,
10098 " ContainerPlugin " ,
99+ " ContainerSandboxService " ,
100+ " ContainerVersion " ,
101+ " DNSServer " ,
101102 ] ,
102103 path: " Sources/APIServer "
103104 ) ,
@@ -108,10 +109,10 @@ let package = Package(
108109 . product( name: " Logging " , package : " swift-log " ) ,
109110 . product( name: " GRPC " , package : " grpc-swift " ) ,
110111 . product( name: " Containerization " , package : " containerization " ) ,
111- " CVersion " ,
112+ " ContainerLog " ,
112113 " ContainerNetworkService " ,
113114 " ContainerSandboxService " ,
114- " ContainerLog " ,
115+ " ContainerVersion " ,
115116 " ContainerXPC " ,
116117 ] ,
117118 path: " Sources/Helpers/RuntimeLinux "
@@ -140,9 +141,9 @@ let package = Package(
140141 . product( name: " ContainerizationExtras " , package : " containerization " ) ,
141142 . product( name: " ContainerizationIO " , package : " containerization " ) ,
142143 . product( name: " ContainerizationOS " , package : " containerization " ) ,
143- " CVersion " ,
144- " ContainerNetworkService " ,
145144 " ContainerLog " ,
145+ " ContainerNetworkService " ,
146+ " ContainerVersion " ,
146147 " ContainerXPC " ,
147148 ] ,
148149 path: " Sources/Helpers/NetworkVmnet "
@@ -164,11 +165,11 @@ let package = Package(
164165 . product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
165166 . product( name: " Logging " , package : " swift-log " ) ,
166167 . product( name: " Containerization " , package : " containerization " ) ,
167- " CVersion " ,
168+ " ContainerImagesService " ,
168169 " ContainerLog " ,
169170 " ContainerPlugin " ,
171+ " ContainerVersion " ,
170172 " ContainerXPC " ,
171- " ContainerImagesService " ,
172173 ] ,
173174 path: " Sources/Helpers/Images "
174175 ) ,
@@ -414,6 +415,12 @@ let package = Package(
414415 ] ,
415416 path: " Tests/CLITests "
416417 ) ,
418+ . target(
419+ name: " ContainerVersion " ,
420+ dependencies: [
421+ " CVersion "
422+ ] ,
423+ ) ,
417424 . target(
418425 name: " CVersion " ,
419426 dependencies: [ ] ,
0 commit comments