Normalize application naming in ./Tests/Manual
Ensure: * CamelCase, ending in Test * No hyphens, spaces, underscores or other non-alpha characters Updated application directory names. Update Jakefiles.
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* ArrayController
|
||||
* ArrayControllerTest
|
||||
*
|
||||
* Created by Alexander Ljungberg on April 2, 2011.
|
||||
* Copyright 2011, WireLoad All rights reserved.
|
||||
@@ -15,17 +15,17 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("ArrayController", function(task)
|
||||
app ("ArrayControllerTest", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "ArrayController.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "ArrayControllerTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("ArrayController");
|
||||
task.setIdentifier("com.yourcompany.ArrayController");
|
||||
task.setProductName("ArrayControllerTest");
|
||||
task.setIdentifier("com.yourcompany.ArrayControllerTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("WireLoad");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("ArrayController");
|
||||
task.setSummary("ArrayControllerTest");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -38,7 +38,7 @@ app ("ArrayController", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["ArrayController"], function()
|
||||
task ("default", ["ArrayControllerTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -59,36 +59,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "ArrayController", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "ArrayControllerTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "ArrayController", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "ArrayControllerTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "ArrayController"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "ArrayController"), FILE.join("Build", "Deployment", "ArrayController")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "ArrayControllerTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "ArrayControllerTest"), FILE.join("Build", "Deployment", "ArrayControllerTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "ArrayController"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "ArrayController"), FILE.join("Build", "Desktop", "ArrayController", "ArrayController.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "ArrayControllerTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "ArrayControllerTest"), FILE.join("Build", "Desktop", "ArrayControllerTest", "ArrayControllerTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "ArrayController", "ArrayController.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "ArrayControllerTest", "ArrayControllerTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "ArrayController"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "ArrayControllerTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,304 +0,0 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
B210EF7E153B0A8D005D15EE /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B210EF7D153B0A8D005D15EE /* Cocoa.framework */; };
|
||||
B210EF88153B0A8D005D15EE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = B210EF86153B0A8D005D15EE /* InfoPlist.strings */; };
|
||||
B210EF8A153B0A8D005D15EE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = B210EF89153B0A8D005D15EE /* main.m */; };
|
||||
B210EF8E153B0A8D005D15EE /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = B210EF8C153B0A8D005D15EE /* Credits.rtf */; };
|
||||
B210EF91153B0A8D005D15EE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = B210EF90153B0A8D005D15EE /* AppDelegate.m */; };
|
||||
B2129637153B0B3000E15669 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = B2129636153B0B3000E15669 /* MainMenu.xib */; };
|
||||
B212963B153B0B4900E15669 /* Window.xib in Resources */ = {isa = PBXBuildFile; fileRef = B2129639153B0B4900E15669 /* Window.xib */; };
|
||||
B212963C153B0E6A00E15669 /* SheetWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = B2129630153B0ADF00E15669 /* SheetWindow.m */; };
|
||||
B212963D153B0E6C00E15669 /* SheetWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = B2129632153B0ADF00E15669 /* SheetWindowController.m */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
B210EF79153B0A8D005D15EE /* TestSheet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TestSheet.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
B210EF7D153B0A8D005D15EE /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
|
||||
B210EF80153B0A8D005D15EE /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
|
||||
B210EF81153B0A8D005D15EE /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
|
||||
B210EF82153B0A8D005D15EE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
||||
B210EF85153B0A8D005D15EE /* TestSheet-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "TestSheet-Info.plist"; sourceTree = "<group>"; };
|
||||
B210EF87153B0A8D005D15EE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
|
||||
B210EF89153B0A8D005D15EE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||
B210EF8B153B0A8D005D15EE /* TestSheet-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "TestSheet-Prefix.pch"; sourceTree = "<group>"; };
|
||||
B210EF8D153B0A8D005D15EE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
|
||||
B210EF8F153B0A8D005D15EE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
|
||||
B210EF90153B0A8D005D15EE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
|
||||
B212962F153B0ADF00E15669 /* SheetWindow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SheetWindow.h; sourceTree = "<group>"; };
|
||||
B2129630153B0ADF00E15669 /* SheetWindow.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SheetWindow.m; sourceTree = "<group>"; };
|
||||
B2129631153B0ADF00E15669 /* SheetWindowController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SheetWindowController.h; sourceTree = "<group>"; };
|
||||
B2129632153B0ADF00E15669 /* SheetWindowController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SheetWindowController.m; sourceTree = "<group>"; };
|
||||
B2129636153B0B3000E15669 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainMenu.xib; path = ../Resources/MainMenu.xib; sourceTree = "<group>"; };
|
||||
B2129639153B0B4900E15669 /* Window.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Window.xib; path = ../Resources/Window.xib; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
B210EF76153B0A8D005D15EE /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B210EF7E153B0A8D005D15EE /* Cocoa.framework in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
B210EF6E153B0A8D005D15EE = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B2129639153B0B4900E15669 /* Window.xib */,
|
||||
B2129636153B0B3000E15669 /* MainMenu.xib */,
|
||||
B210EF83153B0A8D005D15EE /* TestSheet */,
|
||||
B210EF7C153B0A8D005D15EE /* Frameworks */,
|
||||
B210EF7A153B0A8D005D15EE /* Products */,
|
||||
);
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF7A153B0A8D005D15EE /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B210EF79153B0A8D005D15EE /* TestSheet.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF7C153B0A8D005D15EE /* Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B210EF7D153B0A8D005D15EE /* Cocoa.framework */,
|
||||
B210EF7F153B0A8D005D15EE /* Other Frameworks */,
|
||||
);
|
||||
name = Frameworks;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF7F153B0A8D005D15EE /* Other Frameworks */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B210EF80153B0A8D005D15EE /* AppKit.framework */,
|
||||
B210EF81153B0A8D005D15EE /* CoreData.framework */,
|
||||
B210EF82153B0A8D005D15EE /* Foundation.framework */,
|
||||
);
|
||||
name = "Other Frameworks";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF83153B0A8D005D15EE /* TestSheet */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B210EF8F153B0A8D005D15EE /* AppDelegate.h */,
|
||||
B210EF90153B0A8D005D15EE /* AppDelegate.m */,
|
||||
B212962F153B0ADF00E15669 /* SheetWindow.h */,
|
||||
B2129630153B0ADF00E15669 /* SheetWindow.m */,
|
||||
B2129631153B0ADF00E15669 /* SheetWindowController.h */,
|
||||
B2129632153B0ADF00E15669 /* SheetWindowController.m */,
|
||||
B210EF84153B0A8D005D15EE /* Supporting Files */,
|
||||
);
|
||||
path = TestSheet;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF84153B0A8D005D15EE /* Supporting Files */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
B210EF85153B0A8D005D15EE /* TestSheet-Info.plist */,
|
||||
B210EF86153B0A8D005D15EE /* InfoPlist.strings */,
|
||||
B210EF89153B0A8D005D15EE /* main.m */,
|
||||
B210EF8B153B0A8D005D15EE /* TestSheet-Prefix.pch */,
|
||||
B210EF8C153B0A8D005D15EE /* Credits.rtf */,
|
||||
);
|
||||
name = "Supporting Files";
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
B210EF78153B0A8D005D15EE /* TestSheet */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = B210EF97153B0A8D005D15EE /* Build configuration list for PBXNativeTarget "TestSheet" */;
|
||||
buildPhases = (
|
||||
B210EF75153B0A8D005D15EE /* Sources */,
|
||||
B210EF76153B0A8D005D15EE /* Frameworks */,
|
||||
B210EF77153B0A8D005D15EE /* Resources */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = TestSheet;
|
||||
productName = TestSheet;
|
||||
productReference = B210EF79153B0A8D005D15EE /* TestSheet.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
B210EF70153B0A8D005D15EE /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0430;
|
||||
};
|
||||
buildConfigurationList = B210EF73153B0A8D005D15EE /* Build configuration list for PBXProject "TestSheet" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
developmentRegion = English;
|
||||
hasScannedForEncodings = 0;
|
||||
knownRegions = (
|
||||
en,
|
||||
);
|
||||
mainGroup = B210EF6E153B0A8D005D15EE;
|
||||
productRefGroup = B210EF7A153B0A8D005D15EE /* Products */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
B210EF78153B0A8D005D15EE /* TestSheet */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
B210EF77153B0A8D005D15EE /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B210EF88153B0A8D005D15EE /* InfoPlist.strings in Resources */,
|
||||
B2129637153B0B3000E15669 /* MainMenu.xib in Resources */,
|
||||
B212963B153B0B4900E15669 /* Window.xib in Resources */,
|
||||
B210EF8E153B0A8D005D15EE /* Credits.rtf in Resources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
B210EF75153B0A8D005D15EE /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
B210EF8A153B0A8D005D15EE /* main.m in Sources */,
|
||||
B210EF91153B0A8D005D15EE /* AppDelegate.m in Sources */,
|
||||
B212963D153B0E6C00E15669 /* SheetWindowController.m in Sources */,
|
||||
B212963C153B0E6A00E15669 /* SheetWindow.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
B210EF86153B0A8D005D15EE /* InfoPlist.strings */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
B210EF87153B0A8D005D15EE /* en */,
|
||||
);
|
||||
name = InfoPlist.strings;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
B210EF8C153B0A8D005D15EE /* Credits.rtf */ = {
|
||||
isa = PBXVariantGroup;
|
||||
children = (
|
||||
B210EF8D153B0A8D005D15EE /* en */,
|
||||
);
|
||||
name = Credits.rtf;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
B210EF95153B0A8D005D15EE /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
"DEBUG=1",
|
||||
"$(inherited)",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
B210EF96153B0A8D005D15EE /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
|
||||
CLANG_ENABLE_OBJC_ARC = YES;
|
||||
COPY_PHASE_STRIP = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||
SDKROOT = macosx;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
B210EF98153B0A8D005D15EE /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "TestSheet/TestSheet-Prefix.pch";
|
||||
INFOPLIST_FILE = "TestSheet/TestSheet-Info.plist";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
B210EF99153B0A8D005D15EE /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = "TestSheet/TestSheet-Prefix.pch";
|
||||
INFOPLIST_FILE = "TestSheet/TestSheet-Info.plist";
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
B210EF73153B0A8D005D15EE /* Build configuration list for PBXProject "TestSheet" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
B210EF95153B0A8D005D15EE /* Debug */,
|
||||
B210EF96153B0A8D005D15EE /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
B210EF97153B0A8D005D15EE /* Build configuration list for PBXNativeTarget "TestSheet" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
B210EF98153B0A8D005D15EE /* Debug */,
|
||||
B210EF99153B0A8D005D15EE /* Release */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = B210EF70153B0A8D005D15EE /* Project object */;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "self:TestSheet.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* AttachedSheet2
|
||||
* AttachedSheet2Test
|
||||
*
|
||||
* Created by Saikat Chakrabarti on March 16, 2010.
|
||||
* Copyright 2010, gomockingbird.com All rights reserved.
|
||||
@@ -15,17 +15,17 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("AttachedSheet2", function(task)
|
||||
app ("AttachedSheet2Test", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "AttachedSheet2.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "AttachedSheet2Test.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("AttachedSheet2");
|
||||
task.setIdentifier("com.gomockingbird.AttachedSheet2");
|
||||
task.setProductName("AttachedSheet2Test");
|
||||
task.setIdentifier("com.gomockingbird.AttachedSheet2Test");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Saikat Chakrabarti and Sheena Pakanati");
|
||||
task.setEmail("contact @nospam@ gomockingbird.com");
|
||||
task.setSummary("AttachedSheet2");
|
||||
task.setSummary("AttachedSheet2Test");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/*"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -40,11 +40,11 @@ app ("AttachedSheet2", function(task)
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------")
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "AttachedSheet2"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "AttachedSheet2Test"));
|
||||
print("----------------------------")
|
||||
}
|
||||
|
||||
task ("default", ["AttachedSheet2"], function()
|
||||
task ("default", ["AttachedSheet2Test"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -65,29 +65,29 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "AttachedSheet2", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "AttachedSheet2Test", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "AttachedSheet2", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "AttachedSheet2Test", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "AttachedSheet2"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "AttachedSheet2"), FILE.join("Build", "Deployment", "AttachedSheet2")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "AttachedSheet2Test"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "AttachedSheet2Test"), FILE.join("Build", "Deployment", "AttachedSheet2Test")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("press", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Press", "AttachedSheet2"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "AttachedSheet2"), FILE.join("Build", "Press", "AttachedSheet2")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Press", "AttachedSheet2Test"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "AttachedSheet2Test"), FILE.join("Build", "Press", "AttachedSheet2Test")]);
|
||||
});
|
||||
|
||||
task ("flatten", ["press"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Flatten", "AttachedSheet2"));
|
||||
OS.system(["flatten", "-f", "--verbose", "--split", "3", "-c", "closure-compiler", FILE.join("Build", "Press", "AttachedSheet2"), FILE.join("Build", "Flatten", "AttachedSheet2")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Flatten", "AttachedSheet2Test"));
|
||||
OS.system(["flatten", "-f", "--verbose", "--split", "3", "-c", "closure-compiler", FILE.join("Build", "Press", "AttachedSheet2Test"), FILE.join("Build", "Flatten", "AttachedSheet2Test")]);
|
||||
});
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 455 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* cgcanvascontext
|
||||
* CGCanvasContextTest
|
||||
*
|
||||
* Created by You on February 19, 2013.
|
||||
* Copyright 2013, Your Company All rights reserved.
|
||||
@@ -15,17 +15,17 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("cgcanvascontext", function(task)
|
||||
app ("CGCanvasContextTest", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "cgcanvascontext.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CGCanvasContextTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("cgcanvascontext");
|
||||
task.setIdentifier("com.yourcompany.cgcanvascontext");
|
||||
task.setProductName("CGCanvasContextTest");
|
||||
task.setIdentifier("com.yourcompany.CGCanvasContextTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("cgcanvascontext");
|
||||
task.setSummary("CGCanvasContextTest");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -37,7 +37,7 @@ app ("cgcanvascontext", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["cgcanvascontext"], function()
|
||||
task ("default", ["CGCanvasContextTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -58,36 +58,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "cgcanvascontext", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CGCanvasContextTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "cgcanvascontext", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "CGCanvasContextTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "cgcanvascontext"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "cgcanvascontext"), FILE.join("Build", "Deployment", "cgcanvascontext")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CGCanvasContextTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CGCanvasContextTest"), FILE.join("Build", "Deployment", "CGCanvasContextTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "cgcanvascontext"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "cgcanvascontext"), FILE.join("Build", "Desktop", "cgcanvascontext", "cgcanvascontext.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CGCanvasContextTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CGCanvasContextTest"), FILE.join("Build", "Desktop", "CGCanvasContextTest", "CGCanvasContextTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "cgcanvascontext", "cgcanvascontext.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "CGCanvasContextTest", "CGCanvasContextTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "cgcanvascontext"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CGCanvasContextTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* CGPath
|
||||
* CGPathTest
|
||||
*
|
||||
* Created by You on May 23, 2013.
|
||||
* Copyright 2013, Your Company All rights reserved.
|
||||
@@ -15,22 +15,22 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("CGPath", function(task)
|
||||
app ("CGPathTest", function(task)
|
||||
{
|
||||
ENV["OBJJ_INCLUDE_PATHS"] = "Frameworks";
|
||||
|
||||
if (configuration === "Debug")
|
||||
ENV["OBJJ_INCLUDE_PATHS"] = FILE.join(ENV["OBJJ_INCLUDE_PATHS"], configuration);
|
||||
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CGPath.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CGPathTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("CGPath");
|
||||
task.setIdentifier("com.yourcompany.CGPath");
|
||||
task.setProductName("CGPathTest");
|
||||
task.setIdentifier("com.yourcompany.CGPathTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("CGPath");
|
||||
task.setSummary("CGPathTest");
|
||||
task.setSources(new FileList("**/*.j").exclude(FILE.join("Build", "**")).exclude(FILE.join("Frameworks", "Source", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -42,7 +42,7 @@ app ("CGPath", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["CGPath"], function()
|
||||
task ("default", ["CGPathTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -63,36 +63,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CGPath", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CGPathTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "CGPath", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "CGPathTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CGPath"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CGPath"), FILE.join("Build", "Deployment", "CGPath")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CGPathTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CGPathTest"), FILE.join("Build", "Deployment", "CGPathTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CGPath"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CGPath"), FILE.join("Build", "Desktop", "CGPath", "CGPath.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CGPathTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CGPathTest"), FILE.join("Build", "Desktop", "CGPathTest", "CGPathTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "CGPath", "CGPath.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "CGPathTest", "CGPathTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CGPath"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CGPathTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* CPBinder-echo-bug
|
||||
* CPBinderEchoBug
|
||||
*
|
||||
* Created by You on March 29, 2012.
|
||||
* Copyright 2012, Your Company All rights reserved.
|
||||
@@ -20,12 +20,12 @@ app ("CPBinderEchoBug", function(task)
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPBinderEchoBug.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("CPBinder-echo-bug");
|
||||
task.setProductName("CPBinderEchoBug");
|
||||
task.setIdentifier("com.yourcompany.CPBinderEchoBug");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("CPBinder-echo-bug");
|
||||
task.setSummary("CPBinderEchoBug");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* CPByteCountFormatter
|
||||
* CPByteCountFormatterTest
|
||||
*
|
||||
* Created by You on February 10, 2013.
|
||||
* Copyright 2013, Your Company All rights reserved.
|
||||
@@ -15,17 +15,17 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("CPByteCountFormatter", function(task)
|
||||
app ("CPByteCountFormatterTest", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPByteCountFormatter.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPByteCountFormatterTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("CPByteCountFormatter");
|
||||
task.setIdentifier("com.yourcompany.CPByteCountFormatter");
|
||||
task.setProductName("CPByteCountFormatterTest");
|
||||
task.setIdentifier("com.yourcompany.CPByteCountFormatterTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("CPByteCountFormatter");
|
||||
task.setSummary("CPByteCountFormatterTest");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -38,7 +38,7 @@ app ("CPByteCountFormatter", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["CPByteCountFormatter"], function()
|
||||
task ("default", ["CPByteCountFormatterTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -59,36 +59,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CPByteCountFormatter", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CPByteCountFormatterTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "CPByteCountFormatter", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "CPByteCountFormatterTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CPByteCountFormatter"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CPByteCountFormatter"), FILE.join("Build", "Deployment", "CPByteCountFormatter")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CPByteCountFormatterTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CPByteCountFormatterTest"), FILE.join("Build", "Deployment", "CPByteCountFormatterTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CPByteCountFormatter"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CPByteCountFormatter"), FILE.join("Build", "Desktop", "CPByteCountFormatter", "CPByteCountFormatter.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CPByteCountFormatterTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CPByteCountFormatterTest"), FILE.join("Build", "Desktop", "CPByteCountFormatterTest", "CPByteCountFormatterTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "CPByteCountFormatter", "CPByteCountFormatter.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "CPByteCountFormatterTest", "CPByteCountFormatterTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CPByteCountFormatter"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CPByteCountFormatterTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* CPColorWellBindings
|
||||
* CPColorWellBindingsTest
|
||||
*
|
||||
* Created by You on January 27, 2012.
|
||||
* Copyright 2012, Your Company All rights reserved.
|
||||
@@ -15,17 +15,17 @@ var ENV = require("system").env,
|
||||
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug",
|
||||
OS = require("os");
|
||||
|
||||
app ("CPColorWellBindings", function(task)
|
||||
app ("CPColorWellBindingsTest", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPColorWellBindings.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "CPColorWellBindingsTest.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("CPColorWellBindings");
|
||||
task.setIdentifier("com.yourcompany.CPColorWellBindings");
|
||||
task.setProductName("CPColorWellBindingsTest");
|
||||
task.setIdentifier("com.yourcompany.CPColorWellBindingsTest");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("CPColorWellBindings");
|
||||
task.setSummary("CPColorWellBindingsTest");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -38,7 +38,7 @@ app ("CPColorWellBindings", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["CPColorWellBindings"], function()
|
||||
task ("default", ["CPColorWellBindingsTest"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -59,36 +59,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CPColorWellBindings", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "CPColorWellBindingsTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "CPColorWellBindings", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "CPColorWellBindingsTest", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CPColorWellBindings"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CPColorWellBindings"), FILE.join("Build", "Deployment", "CPColorWellBindings")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "CPColorWellBindingsTest"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "CPColorWellBindingsTest"), FILE.join("Build", "Deployment", "CPColorWellBindingsTest")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CPColorWellBindings"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CPColorWellBindings"), FILE.join("Build", "Desktop", "CPColorWellBindings", "CPColorWellBindings.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "CPColorWellBindingsTest"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "CPColorWellBindingsTest"), FILE.join("Build", "Desktop", "CPColorWellBindingsTest", "CPColorWellBindingsTest.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "CPColorWellBindings", "CPColorWellBindings.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "CPColorWellBindingsTest", "CPColorWellBindingsTest.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CPColorWellBindings"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "CPColorWellBindingsTest"));
|
||||
print("----------------------------");
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |