-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to build parity version of ppc
- Tied to npm build and npm test steps - Pulling into CI flow - Added tests for parity checking - Testing blacklist updated - Placeholder client plugin created - Contributes to #66
- Loading branch information
Showing
7 changed files
with
72 additions
and
10 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "pylon.client.ppc", | ||
"version": "0.0.1", | ||
"main": "ppc-lib.js", | ||
"private": true, | ||
|
||
"dependencies": { | ||
}, | ||
|
||
"plugin": { | ||
"provides": ["client.ppc"], | ||
"consumes": ["static"] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module.exports = function setup(options, imports, register) { | ||
var base = __dirname + "/www"; | ||
imports.static.addStatics([{ | ||
path: base, | ||
mount: "/", | ||
rjs: { | ||
ppc: "/ppc" | ||
} | ||
}]); | ||
|
||
register(null, { | ||
"client.ppc": {} | ||
}); | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/** | ||
* Pylon Platform Code | ||
* | ||
* @license GPLv3 <http://www.gnu.org/licenses/gpl.txt> | ||
*/ | ||
|
||
/*global after, afterEach, before, beforeEach, describe, it, setup, suite, teardown, test*/ | ||
|
||
"use strict"; | ||
"use mocha"; | ||
|
||
var Assert = require("assert"); | ||
var fs = require('fs'); | ||
|
||
var basePath = __dirname; | ||
|
||
describe("ppc-package", function() { | ||
it("APF should exist", function(next) { | ||
Assert.equal(true, fs.existsSync(__dirname + "/../plugins-client/lib.apf/www/apf-packaged/apf_release.js", function(result) { | ||
return result; | ||
})); | ||
next(); | ||
}); | ||
|
||
it("PPC should exist", function(next) { | ||
Assert.equal(true, fs.existsSync(__dirname + "/../plugins-client/lib.ppc/www/ppc/ppc.js", function(result) { | ||
return result; | ||
})); | ||
next(); | ||
}); | ||
|
||
it("PPC should be the same as APF", function(next) { | ||
var apf = fs.readFileSync(__dirname + "/../plugins-client/lib.apf/www/apf-packaged/apf_release.js"); | ||
var ppc = fs.readFileSync(__dirname + "/../plugins-client/lib.ppc/www/ppc/ppc.js"); | ||
Assert.equal(true, ppc.equals(apf)); | ||
next(); | ||
}); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
./plugins-server/c9.api.ftp/ftp_test.js | ||
./plugins-server/c9.graceful-shutdown/graceful-shutdown_test.js | ||
./plugins-client/ext.console/logger_test.js | ||
./plugins-server/c9.backup.duplicity/duplicity_test.js | ||
./plugins-client/ext.watcher/three_way_merge_test.js | ||
./test/integration/project_archive/archive_and_restore_test.js | ||
./ppc/platform/test/lm_test.js | ||
./ppc/platform/core/lib/util/xml_test.js |
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