mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
4a54fe6d2a
The `sources` key of the project spec only supported directories and not files. Now it supports both! This commit introduces a `getSourceFiles` overload that doesn't explicitly invoke `path.children()`, but instead accepts `children` as a parameter. This allows us to invoke the `children` overload of getSourceFiles with just the files we want to include (determined by specifying the sources). Now for sourcePaths that are files, we group by parents before invoking getSourceFiles in order to reuse the same groups.
28 lines
643 B
Swift
28 lines
643 B
Swift
//
|
|
// AppDelegate.swift
|
|
// TestProject
|
|
//
|
|
// Created by Yonas Kolb on 19/7/17.
|
|
// Copyright © 2017 Yonas Kolb. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import Framework
|
|
|
|
@UIApplicationMain
|
|
class AppDelegate: UIResponder, UIApplicationDelegate {
|
|
|
|
var window: UIWindow?
|
|
|
|
|
|
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
|
|
// Override point for customization after application launch.
|
|
_ = FrameworkStruct()
|
|
// Standalone files added to project by path-to-file.
|
|
_ = standaloneHello()
|
|
return true
|
|
}
|
|
|
|
}
|
|
|