NEW: XcodeCapp 4.0

XcodeCapp 4.0 is a major release of our beloved tool. In a nutshell it:

- allows to manage multiple projects simultaneously
- allows to follow operations and cancel them
- has a per project Error and Warning reporting
- supports capp_env as you can define additional paths and objj include path per project
- much more things
This commit is contained in:
Antoine Mercadal
2015-08-04 10:35:23 -07:00
parent 6420a51dd0
commit 47611b7615
178 changed files with 8292 additions and 10040 deletions
@@ -0,0 +1,40 @@
//
// TaskLauncher.h
// XcodeCapp
//
// Created by Alexandre Wilhelm on 5/6/15.
// Copyright (c) 2015 cappuccino-project. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, XCCTaskReturnType)
{
kTaskReturnTypeNone,
kTaskReturnTypeStdOut,
kTaskReturnTypeStdError,
kTaskReturnTypeAny
};
@interface XCCTaskLauncher : NSObject
@property BOOL isValid;
@property NSMutableArray *binaryPaths;
@property NSMutableDictionary *environment;
@property NSArray *executables;
@property NSMutableDictionary *executablePaths;
- (instancetype)initWithEnvironmentPaths:(NSArray*)environementPaths NS_DESIGNATED_INITIALIZER;
- (NSTask*)taskWithCommand:(NSString *)aCommand arguments:(NSArray *)arguments;
- (NSTask*)taskWithCommand:(NSString *)aCommand arguments:(NSArray *)arguments currentDirectoryPath:(NSString*)aCurrentDirectoryPath;
- (NSDictionary *)runTaskWithCommand:(NSString *)aCommand arguments:(NSArray *)arguments returnType:(XCCTaskReturnType)returnType;
- (NSDictionary *)runTaskWithCommand:(NSString *)aCommand arguments:(NSArray *)arguments returnType:(XCCTaskReturnType)returnType currentDirectoryPath:(NSString*)aCurrentDirectoryPath;
- (NSDictionary*)runTask:(NSTask*)aTask returnType:(XCCTaskReturnType)returnType;
- (NSDictionary*)runJakeTaskWithArguments:(NSMutableArray*)arguments currentDirectoryPath:(NSString*)aCurrentDirectoryPath;
@end