Created
February 23, 2010 17:26
-
-
Save nickjs/312439 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Jakefile | |
* Shopify - com.shopify.Text.plugin | |
* | |
* Created by Nicholas Small on January 31, 2010. | |
* Copyright 2010, JadedPixel, Inc. All rights reserved. | |
*/ | |
var ENV = require("system").env, | |
FILE = require("file"), | |
task = require("jake").task, | |
FileList = require("jake").FileList, | |
app = require("cappuccino/jake").app, | |
configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug"; | |
app("Text", function(task) | |
{ | |
task.setBuildIntermediatesPath(FILE.join("Build", configuration)); | |
task.setBuildPath(FILE.join("../../Clients/Web/Plugins")); | |
task.setProductName("com.shopify.Text.plugin"); | |
task.setIdentifier("com.shopify.Text.plugin"); | |
task.setVersion("0.1"); | |
task.setAuthor("JadedPixel, Inc"); | |
task.setEmail("[email protected]"); | |
task.setSources(new FileList("**/*.j")); | |
task.setFlattensSources(true); | |
task.setResources(new FileList("Resources/*")); | |
task.setInfoPlistPath("Info.plist"); | |
if (configuration === "Debug") | |
task.setCompilerFlags("-DDEBUG -g"); | |
else | |
task.setCompilerFlags("-O"); | |
}); | |
task ("default", ["Text"]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment