File tree Expand file tree Collapse file tree 7 files changed +50
-0
lines changed
Expand file tree Collapse file tree 7 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ .DS_Store
2+ /.build
3+ /Packages
4+ /* .xcodeproj
5+ xcuserdata /
6+ DerivedData /
7+ .swiftpm /xcode /package.xcworkspace /contents.xcworkspacedata
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.5
2+ // The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " hello-world " ,
8+ products: [
9+ // Products define the executables and libraries a package produces, and make them visible to other packages.
10+ . library(
11+ name: " hello-world " ,
12+ targets: [ " hello-world " ] ) ,
13+ ] ,
14+ targets: [
15+ // Targets are the basic building blocks of a package. A target can define a module or a test suite.
16+ // Targets can depend on other targets in this package, and on products in packages this package depends on.
17+ . target(
18+ name: " hello-world " ,
19+ dependencies: [ ] ) ,
20+ ]
21+ )
Original file line number Diff line number Diff line change 1+ public struct hello_world {
2+ public private( set) var text = " Hello, World! "
3+
4+ public init ( ) {
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ | Sources/hello-world/hello_world.swift:0:0:0:0 | Sources/hello-world/hello_world.swift |
Original file line number Diff line number Diff line change 1+ from create_database_utils import *
2+
3+ run_codeql_database_create ([
4+ 'swift package clean' ,
5+ 'swift build'
6+ ], lang = 'swift' )
Original file line number Diff line number Diff line change 1+ import swift
2+
3+ from File f
4+ select f
Original file line number Diff line number Diff line change 1+ name : integration-tests-swift
2+ version : 0.0.0
3+ libraryPathDependencies : codeql/swift-all
4+ extractor : swift
5+
You can’t perform that action at this time.
0 commit comments