mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-14 06:31:27 +00:00
Fixed spelling error in test app
This commit is contained in:
@@ -5,6 +5,6 @@
|
||||
<key>Main cib file base name</key>
|
||||
<string>MainMenu.cib</string>
|
||||
<key>CPBundleName</key>
|
||||
<string>test2</string>
|
||||
<string>nib2cibAlignment</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Jakefile
|
||||
* test2
|
||||
* nib2cibAlignment
|
||||
*
|
||||
* Created by You on May 17, 2011.
|
||||
* Copyright 2011, 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 ("test2", function(task)
|
||||
app ("nib2cibAlignment", function(task)
|
||||
{
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "test2.build", configuration));
|
||||
task.setBuildIntermediatesPath(FILE.join("Build", "nib2cibAlignment.build", configuration));
|
||||
task.setBuildPath(FILE.join("Build", configuration));
|
||||
|
||||
task.setProductName("test2");
|
||||
task.setIdentifier("com.yourcompany.test2");
|
||||
task.setProductName("nib2cibAlignment");
|
||||
task.setIdentifier("com.yourcompany.nib2cibAlignment");
|
||||
task.setVersion("1.0");
|
||||
task.setAuthor("Your Company");
|
||||
task.setEmail("feedback @nospam@ yourcompany.com");
|
||||
task.setSummary("test2");
|
||||
task.setSummary("nib2cibAlignment");
|
||||
task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**")));
|
||||
task.setResources(new FileList("Resources/**"));
|
||||
task.setIndexFilePath("index.html");
|
||||
@@ -38,7 +38,7 @@ app ("test2", function(task)
|
||||
task.setCompilerFlags("-O");
|
||||
});
|
||||
|
||||
task ("default", ["test2"], function()
|
||||
task ("default", ["nib2cibAlignment"], function()
|
||||
{
|
||||
printResults(configuration);
|
||||
});
|
||||
@@ -59,36 +59,36 @@ task ("release", function()
|
||||
|
||||
task ("run", ["debug"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Debug", "test2", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Debug", "nib2cibAlignment", "index.html")]);
|
||||
});
|
||||
|
||||
task ("run-release", ["release"], function()
|
||||
{
|
||||
OS.system(["open", FILE.join("Build", "Release", "test2", "index.html")]);
|
||||
OS.system(["open", FILE.join("Build", "Release", "nib2cibAlignment", "index.html")]);
|
||||
});
|
||||
|
||||
task ("deploy", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "test2"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "test2"), FILE.join("Build", "Deployment", "test2")]);
|
||||
FILE.mkdirs(FILE.join("Build", "Deployment", "nib2cibAlignment"));
|
||||
OS.system(["press", "-f", FILE.join("Build", "Release", "nib2cibAlignment"), FILE.join("Build", "Deployment", "nib2cibAlignment")]);
|
||||
printResults("Deployment")
|
||||
});
|
||||
|
||||
task ("desktop", ["release"], function()
|
||||
{
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "test2"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "test2"), FILE.join("Build", "Desktop", "test2", "test2.app"));
|
||||
FILE.mkdirs(FILE.join("Build", "Desktop", "nib2cibAlignment"));
|
||||
require("cappuccino/nativehost").buildNativeHost(FILE.join("Build", "Release", "nib2cibAlignment"), FILE.join("Build", "Desktop", "nib2cibAlignment", "nib2cibAlignment.app"));
|
||||
printResults("Desktop")
|
||||
});
|
||||
|
||||
task ("run-desktop", ["desktop"], function()
|
||||
{
|
||||
OS.system([FILE.join("Build", "Desktop", "test2", "test2.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
OS.system([FILE.join("Build", "Desktop", "nib2cibAlignment", "nib2cibAlignment.app", "Contents", "MacOS", "NativeHost"), "-i"]);
|
||||
});
|
||||
|
||||
function printResults(configuration)
|
||||
{
|
||||
print("----------------------------");
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "test2"));
|
||||
print(configuration+" app built at path: "+FILE.join("Build", configuration, "nib2cibAlignment"));
|
||||
print("----------------------------");
|
||||
}
|
||||
+1
-1
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
+1
-1
@@ -20,7 +20,7 @@
|
||||
<link rel="apple-touch-icon" href="Resources/icon.png" />
|
||||
<link rel="apple-touch-startup-image" href="Resources/default.png" />
|
||||
|
||||
<title>test2</title>
|
||||
<title>nib2cib alignment</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
@@ -20,7 +20,7 @@
|
||||
<link rel="apple-touch-icon" href="Resources/icon.png" />
|
||||
<link rel="apple-touch-startup-image" href="Resources/default.png" />
|
||||
|
||||
<title>test2</title>
|
||||
<title>nib2cib alignment</title>
|
||||
|
||||
<script type="text/javascript">
|
||||
OBJJ_MAIN_FILE = "main.j";
|
||||
Reference in New Issue
Block a user