Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use getCappuccinoVersion() in various Jakefiles instead of hardcoded …

…versions.
  • Loading branch information...
commit ba713b8b06a87852c257ceb622734d47c30f16a0 1 parent c53bff2
Tom Robinson authored
View
2  AppKit/Jakefile
@@ -20,7 +20,7 @@ appKitTask = framework ("AppKit", function(appKitTask)
appKitTask.setEmail("feedback @nospam@ 280north.com");
appKitTask.setSummary("AppKit classes for Cappuccino");
appKitTask.setIdentifier("com.280n.AppKit");
- appKitTask.setVersion("0.8.0");
+ appKitTask.setVersion(getCappuccinoVersion());
appKitTask.setLicense(BundleTask.License.LGPL_v2_1);
appKitTask.setSources(AppKitFiles);
appKitTask.setResources(new FileList("Resources/**/*"));
View
2  AppKit/Themes/BlendKit/Jakefile
@@ -10,7 +10,7 @@ blendKitTask = framework ("BlendKit", function(blendKitTask)
blendKitTask.setBuildPath(FILE.join($BUILD_DIR, $CONFIGURATION));
blendKitTask.setIdentifier("com.280n.BlendKit");
- blendKitTask.setVersion("0.8.0");
+ blendKitTask.setVersion(getCappuccinoVersion());
blendKitTask.setAuthor("280 North, Inc.");
blendKitTask.setEmail("feedback @nospam@ 280north.com");
blendKitTask.setSummary("BlendKit classes for Cappuccino");
View
2  Foundation/Jakefile
@@ -34,7 +34,7 @@ foundationTask = framework ("Foundation", function(foundationTask)
foundationTask.setEmail("feedback @nospam@ 280north.com");
foundationTask.setSummary("Foundation classes for Cappuccino");
foundationTask.setIdentifier("com.280n.Foundation");
- foundationTask.setVersion("0.8.0");
+ foundationTask.setVersion(getCappuccinoVersion());
foundationTask.setLicense(BundleTask.License.LGPL_v2_1);
foundationTask.setSources(new FileList("**/*.j"));
foundationTask.setResources(new FileList("Resources/**/*"));
View
2  Tools/capp/Jakefile
@@ -14,7 +14,7 @@ app ("capp", function(cappTask)
cappTask.setSummary("Setup up Cappuccino projects");
cappTask.setIdentifier("com.280n.capp");
cappTask.setLicense(BundleTask.License.LGPL_v2_1);
- cappTask.setVersion("0.8.0");
+ cappTask.setVersion(getCappuccinoVersion());
cappTask.setSources(new FileList("*.j"));
cappTask.setResources(new FileList("Resources/*"));
cappTask.setIncludesNibsAndXibs(true);
View
2  Tools/nib2cib/Jakefile
@@ -13,7 +13,7 @@ app ("nib2cib", function(nib2cibTask)
nib2cibTask.setIdentifier("com.280n.nib2cib");
nib2cibTask.setLicense(BundleTask.License.LGPL_v2_1);
- nib2cibTask.setVersion("0.8.0");
+ nib2cibTask.setVersion(getCappuccinoVersion());
nib2cibTask.setAuthor("280 North, Inc.");
nib2cibTask.setEmail("feedback @nospam@ 280north.com");
nib2cibTask.setSummary("nib2cib converts Cocoa nib and xibs to Cappuccino cibs");
View
2  common.jake
@@ -289,7 +289,7 @@ global.symlink_executable = function(source)
FILE.symlink(relative, destination);
}
-function getCappuccinoVersion() {
+global.getCappuccinoVersion = function() {
var versionFile = FILE.path(module.path).dirname().join("version.json");
return JSON.parse(versionFile.read({ charset : "UTF-8" })).version;
}
Please sign in to comment.
Something went wrong with that request. Please try again.