mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
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:
@@ -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');
|
||||
});
|
||||
Reference in New Issue
Block a user