Implement tailor made data structure and logic for text on a path rendering.

Remove postinstall script and dependencies on PerformanceBezier & QuartzBookPack.
This commit is contained in:
Mikael Sand
2017-12-28 05:23:38 +02:00
parent ec2a967592
commit b9959c779c
9 changed files with 396 additions and 137 deletions

View File

@@ -1,20 +0,0 @@
var path = require('path');
var ghdownload = require('github-download');
function downloadSubModuleFromGithub(user, repo, callback) {
var dist = path.join(process.cwd(), 'ios/' + repo);
console.log('\r\n Start downloading ' + repo + ' to `' + dist + '`');
ghdownload({user: user, repo: repo, ref: 'master'}, dist)
.on('end', function() {
console.log('Download ' + repo + ' library success!');
callback && callback();
})
.on('error', function (err) {
console.error('Download ' + repo + ' library from github failed with err:', err);
});
}
downloadSubModuleFromGithub('adamwulf', 'PerformanceBezier', function () {
downloadSubModuleFromGithub('magicismight', 'QuartzBookPack');
});