Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit cee8047

Browse files
author
James Phillpotts
committed
Support automated website build
1 parent ec7991d commit cee8047

File tree

19 files changed

+326
-121
lines changed

19 files changed

+326
-121
lines changed

air/package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "air",
3+
"version": "1.3.0",
4+
"implName": "AIR",
5+
"contributors": [{
6+
"name": "Graham Odds",
7+
"username": "godds",
8+
"hash": "3f5e6c753071c6a41f7f1dbb89daeb3b"
9+
}],
10+
"platforms": ["android", "ios"]
11+
}

build/generate-assets.js

+133-103
Large diffs are not rendered by default.

build/stats.js

+25-9
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ var find = require('./find');
33
var path = require('path');
44
var async = require('async');
55
var yaml = require('yamljs');
6+
var Q = require('q');
67

78
find('.', "*/stats-config.json", function (statsConfigFiles) {
89
var stats = statsConfigFiles.map(function(statsConfigFile) {
9-
var statsRoot = path.dirname(statsConfigFile);
10-
var statsConfig = JSON.parse(fs.readFileSync(statsConfigFile).toString());
11-
var stats = {};
10+
var statsRoot = path.dirname(statsConfigFile),
11+
statsConfig = JSON.parse(fs.readFileSync(statsConfigFile).toString()),
12+
stats = {},
13+
deferred = Q.defer();
1214
async.forEach(Object.keys(statsConfig), function(key, callback) {
1315
countChars(statsRoot, statsConfig[key], function(error, count) {
1416
if (!error && count > 0) {
@@ -17,16 +19,30 @@ find('.', "*/stats-config.json", function (statsConfigFiles) {
1719
callback(error);
1820
});
1921
}, function() {
20-
console.log("---");
21-
console.log(statsRoot);
22-
console.log("---");
23-
console.log(yaml.stringify({
24-
pie: createPie(stats)
25-
}));
22+
deferred.resolve({ pie: createPie(stats), statsRoot: statsRoot });
2623
});
24+
return deferred.promise;
2725
});
26+
Q.all(stats).done(process.argv.indexOf("json") > -1 ? printJSON : printYAML);
2827
});
2928

29+
function printYAML(stats) {
30+
stats.map(function(moduleStats) {
31+
console.log("---");
32+
console.log(moduleStats.statsRoot);
33+
console.log("---");
34+
console.log(yaml.stringify({
35+
pie: moduleStats.pie
36+
}));
37+
});
38+
}
39+
40+
function printJSON(stats) {
41+
console.log(JSON.stringify({
42+
stats: stats
43+
}));
44+
}
45+
3046
function countChars(root, filter, callback) {
3147
if (!filter) {
3248
return callback(Number.NaN);

delphi/package.json

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "delphi",
3+
"version": "1.3.0",
4+
"implName": "Delphi",
5+
"contributors": [{
6+
"name": "Embarcadero",
7+
"url": "http://embarcadero.com"
8+
},{
9+
"name": "Stephen Ball",
10+
"username": "DelphiABall",
11+
"hash": "5228daef33bc155d8b47a4710db543e5"
12+
}],
13+
"platforms": ["android", "ios"]
14+
}

emy/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
"version": "1.3.0",
44
"abbr": "emy",
55
"implName": "Emy",
6+
"contributors": [{
7+
"name": "Remi Grumeau",
8+
"username": "remi-grumeau",
9+
"hash": "f739f02d0af4ab1f8cb745b5677de157"
10+
}],
11+
"platforms": ["android", "ios", "windowsphone"],
612
"appId": 737461,
713
"devDependencies": {
814
"grunt": "0.4.2"

enyo/package.json

+10
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
"version": "1.3.0",
44
"abbr": "enyo",
55
"implName": "Enyo",
6+
"contributors": [{
7+
"name": "Art Dahm",
8+
"username": "dragongears",
9+
"hash": "8b162dd0a4db89f2b763a5f4be389ef2"
10+
},{
11+
"name": "Dave Freeman",
12+
"username": "sugardave",
13+
"hash": "8fb6bbed9a2341ce15f1ab3ea13b2633"
14+
}],
15+
"platforms": ["android", "ios", "windowsphone"],
616
"appId": 737694,
717
"devDependencies": {
818
"grunt": "0.4.2",

intelappframework/package.json

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
"version": "1.3.0",
44
"abbr": "iaf",
55
"implName": "Intel App Framework",
6+
"contributors": [{
7+
"name": "Joel Smith",
8+
"username": "joelwilliamsmith",
9+
"hash": "6e5b209f9dced24655066d1128a13964"
10+
}],
11+
"platforms": ["android", "ios", "windowsphone"],
612
"appId": 727266,
713
"devDependencies": {
814
"grunt": "0.4.2"

jqtouch/package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
2-
"name": "property-cross-jqtouch",
2+
"name": "jqtouch",
33
"version": "1.3.0",
44
"abbr": "jqt",
55
"implName": "jQTouch",
6+
"contributors": [{
7+
"name": "Mark Rhodes",
8+
"username": "markrhodes"
9+
}],
10+
"platforms": ["android", "ios"],
611
"appId": 727777,
712
"devDependencies": {
813
"grunt": "0.4.2"

jquerymobile/package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
{
2-
"name": "property-cross-jquerymobile",
2+
"name": "jquerymobile",
33
"version": "1.3.0",
44
"abbr": "jqm",
55
"implName": "jQuery Mobile",
6+
"contributors": [{
7+
"name": "Colin Eberhardt",
8+
"username": "colineberhardt",
9+
"hash": "458f2e0d08d4114f8b323798cfea141d"
10+
},{
11+
"name": "Chris Price",
12+
"username": "chrisprice",
13+
"hash": "b6fe36176ec7c9475374a5cd3b7bef1a"
14+
}],
15+
"platforms": ["android", "ios", "windowsphone"],
616
"appId": 729188,
717
"devDependencies": {
818
"grunt": "0.4.2"

kendoui/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2-
"name": "property-cross-kendoui",
2+
"name": "kendoui",
33
"version": "1.3.0",
44
"abbr": "kui",
55
"implName": "Kendo UI",
6+
"contributors": [{
7+
"name": "Joel Smith",
8+
"username": "joelwilliamsmith",
9+
"hash": "6e5b209f9dced24655066d1128a13964"
10+
}],
11+
"platforms": ["android", "ios", "windowsphone"],
612
"appId": 735811,
713
"devDependencies": {
814
"grunt": "0.4.2"

lungo/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2-
"name": "property-cross-lungo",
2+
"name": "lungo",
33
"version": "1.3.0",
44
"abbr": "lungo",
55
"implName": "Lungo",
6+
"contributors": [{
7+
"name": "Steven Hall",
8+
"username": "emmerich",
9+
"hash": "30187520d3181c674d7b7ecbcbbf48b1"
10+
}],
11+
"platforms": ["android", "ios"],
612
"appId": 735779,
713
"devDependencies": {
814
"grunt": "0.4.2"

mgwt/package.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
{
2-
"name": "property-cross-mgwt",
2+
"name": "mgwt",
33
"version": "1.3.0",
44
"abbr": "mgwt",
55
"implName": "mgwt",
6+
"contributors": [{
7+
"name": "Colin Eberhardt",
8+
"username": "colineberhardt",
9+
"hash": "458f2e0d08d4114f8b323798cfea141d"
10+
},{
11+
"name": "Steve Blair",
12+
"username": "SteveBlair"
13+
}],
14+
"platforms": ["android", "ios"],
615
"appId": 736266,
716
"devDependencies": {
817
"grunt": "~0.4.2",

native/README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
Native PropertyCross
22
====================
33

4-
These are the native implementations of the Property Finder application, included as reference.
4+
These are the native implementations of the Property Finder application, included as reference.
5+
6+
## Introduction
7+
8+
The native implementations of the PropertyCross application are included as a benchmark for comparison. These implementations illustrate the tools and technologies that are used for native development on each mobile platform. The native implementations also provide a target for the user experience that should be aimed for with the cross-platform frameworks, with the assumption being that the use of native implementation technologies will provide the best user experience.
9+
10+
The iOS application is built using Xcode, the Windows Phone application is built using Visual Studio together with the Windows Phone 7 SDKs, and the Android version is built using Eclipse.
511

612
## Building the iOS and Windows Phone applications
713

8-
The iOS version is built using XCode4.5, the Windows Phone version using Visual Studio and the Windows Phone 7.1 SDKs.
14+
The iOS version is built using XCode4.5, the Windows Phone version using Visual Studio and the Windows Phone 7.1 SDKs.
915

1016
## Building the Android Application
1117

native/package.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "native",
3+
"version": "1.3.0",
4+
"implName": "Native",
5+
"contributors": [{
6+
"name": "Colin Eberhardt",
7+
"username": "colineberhardt",
8+
"hash": "458f2e0d08d4114f8b323798cfea141d"
9+
},{
10+
"name": "Sam Hogarth",
11+
"username": "sh1989",
12+
"hash": "d4534a4d64ddf89c318221d9f0e766da"
13+
}],
14+
"platforms": ["android", "ios", "windowsphone"]
15+
}

phonejs/package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
{
2-
"name": "property-cross-phonejs",
2+
"name": "phonejs",
33
"version": "1.3.0",
44
"abbr": "pjs",
55
"implName": "PhoneJS",
6+
"phonegap": true,
7+
"contributors": [{
8+
"name": "DevExpress",
9+
"url": "http://phonejs.devexpress.com/"
10+
}],
11+
"platforms": ["android", "ios", "windowsphone"],
612
"appId": 736273,
713
"devDependencies": {
814
"grunt": "0.4.2"

rhomobile/package.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "rhomobile",
3+
"version": "1.3.0",
4+
"implName": "RhoMobile",
5+
"contributors": [{
6+
"name": "Vinothini",
7+
"username": "VinothiniBalakrishnan"
8+
}],
9+
"platforms": ["android", "ios", "windowsphone"]
10+
}

senchatouch2/package.json

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
2-
"name": "property-cross-senchatouch2",
2+
"name": "senchatouch2",
33
"version": "1.3.0",
44
"abbr": "st2",
55
"implName": "Sencha Touch 2",
6+
"contributors": [{
7+
"name": "Mark Rhodes",
8+
"username": "markrhodes"
9+
},{
10+
"name": "Joel Smith",
11+
"username": "joelwilliamsmith",
12+
"hash": "6e5b209f9dced24655066d1128a13964"
13+
},{
14+
"name": "Nicholas Wolverson",
15+
"username": "nwolverson",
16+
"hash": "c2fa082fa1ffbab1293262c599d459fb"
17+
}],
18+
"platforms": ["android", "ios", "windowsphone"],
619
"appId": 737353,
720
"devDependencies": {
821
"grunt": "0.4.2",

titanium/package.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "titanium",
3+
"version": "1.3.0",
4+
"implName": "Titanium",
5+
"contributors": [{
6+
"name": "Chris Price",
7+
"username": "chrisprice",
8+
"hash": "b6fe36176ec7c9475374a5cd3b7bef1a"
9+
}],
10+
"platforms": ["android", "ios"]
11+
}

xamarin/package.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "xamarin",
3+
"version": "1.3.0",
4+
"implName": "Xamarin",
5+
"contributors": [{
6+
"name": "Colin Eberhardt",
7+
"username": "colineberhardt",
8+
"hash": "458f2e0d08d4114f8b323798cfea141d"
9+
}, {
10+
"name": "Sam Hogarth",
11+
"username": "sh1989",
12+
"hash": "d4534a4d64ddf89c318221d9f0e766da"
13+
}],
14+
"platforms": ["android", "ios", "windowsphone"]
15+
}

0 commit comments

Comments
 (0)