Skip to content

Commit

Permalink
Merge pull request #25 from ZPP506/master
Browse files Browse the repository at this point in the history
LEETheme 支持swift-package导入
  • Loading branch information
lixiang1994 authored Dec 19, 2020
2 parents b43c0f5 + 02416f7 commit cbe4214
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
1 change: 1 addition & 0 deletions LEETheme/LEETheme.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

#import <Foundation/Foundation.h>

#import <UIKit/UIKit.h>

#import "LEEThemeHelper.h"
Expand Down
1 change: 1 addition & 0 deletions LEETheme/LEEThemeHelper.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <UIKit/UIKit.h>
/*
* @header LEEThemeHelper.h
*
Expand Down
1 change: 1 addition & 0 deletions LEETheme/include/LEETheme/LEETheme.h
1 change: 1 addition & 0 deletions LEETheme/include/LEETheme/LEEThemeHelper.h
29 changes: 29 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "LEETheme",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "LEETheme",
targets: ["LEETheme"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "LEETheme",
dependencies: [],
path: "LEETheme"),
.testTarget(
name: "LEEThemeTests",
dependencies: ["LEETheme"]),
]
)

0 comments on commit cbe4214

Please sign in to comment.