-
Notifications
You must be signed in to change notification settings - Fork 134
/
Copy pathXCBuildShellScript.h
65 lines (54 loc) · 2.52 KB
/
XCBuildShellScript.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// XCBuildShellScript.h
// xcode-editor
//
// Created by joel on 03/02/16.
//
//
#import <Foundation/Foundation.h>
#import <XcodeEditor/XcodeGroupMember.h>
#import <XcodeEditor/XcodeSourceFileType.h>
@class XCProject;
@interface XCBuildShellScript : NSObject
{
NSString* _key;
@private
XCProject*_project;
BOOL _runOnlyForDeploymentPostprocessing;
NSArray*_files;
NSArray*_inputPaths;
NSArray*_outputPaths;
NSString*_name;
NSString*_shellPath;
NSString*_shellScript;
}
@property(nonatomic, strong, readonly,nonnull) NSString* key;
@property(nonatomic, strong, readonly,nonnull) NSString* name;
@property(nonatomic,readonly) BOOL runOnlyForDeploymentPostprocessing;
@property(nonatomic,nonnull,strong,readonly) NSString*shellScript;
@property(nonatomic,nonnull,strong,readonly) NSString*shellPath;
@property(nonatomic,nonnull,strong,readonly) NSArray<NSString*>*files;
@property(nonatomic,nonnull,strong,readonly) NSArray<NSString*>*inputPaths;
@property(nonatomic,nonnull,strong,readonly) NSArray<NSString*>*outputPaths;
//-------------------------------------------------------------------------------------------
#pragma mark - Initialization & Destruction
//-------------------------------------------------------------------------------------------
+ (XCBuildShellScript*_Nonnull)shellScriptWithProject:(XCProject*_Nonnull)project
key:(NSString *_Nonnull)key
name:( NSString* _Nullable )name
files: (NSArray<NSString*>* _Nullable)files
inputPaths:(NSArray<NSString*>* _Nullable)inputPaths
outputPaths:(NSArray<NSString*>* _Nullable)outputPaths
runOnlyForDeploymentPostprocessing:(BOOL)runOnlyForDeploymentPostprocessing
shellPath:(NSString*_Nullable)shellPath
shellScript:(NSString*_Nonnull)shellScript;
- (instancetype _Nonnull)initWithProject:(XCProject*_Nonnull)project
key:(NSString *_Nonnull)key
name:( NSString* _Nullable )name
files: (NSArray<NSString*>* _Nullable)files
inputPaths:(NSArray<NSString*>* _Nullable)inputPaths
outputPaths:(NSArray<NSString*>* _Nullable)outputPaths
runOnlyForDeploymentPostprocessing:(BOOL)runOnlyForDeploymentPostprocessing
shellPath:(NSString*_Nullable)shellPath
shellScript:(NSString*_Nonnull)shellScript;
@end