-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathJakefile
38 lines (33 loc) · 1.12 KB
/
Jakefile
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
/*
* Jakefile
* dbstore
*
* Created by You on February 2, 2010.
* Copyright 2010, Your Company 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 ("dbstore", function(task)
{
task.setBuildIntermediatesPath(FILE.join("Build", "dbstore.build", configuration));
task.setBuildPath(FILE.join("Build", configuration));
task.setProductName("dbstore");
task.setIdentifier("com.yourcompany.dbstore");
task.setVersion("1.0");
task.setAuthor("Your Company");
task.setEmail("feedback @nospam@ yourcompany.com");
task.setSummary("dbstore");
task.setSources(new FileList("**/*.j"));
task.setResources(new FileList("Resources/*"));
task.setIndexFilePath("index.html");
task.setInfoPlistPath("Info.plist");
if (configuration === "Debug")
task.setCompilerFlags("-DDEBUG -g");
else
task.setCompilerFlags("-O");
});
task ("default", ["dbstore"]);