mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
Jake: delete the package after extraction
This commit is contained in:
parent
f2a0f69774
commit
b529c97ab0
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var download = require('download');
|
||||
var fs = require('fs');
|
||||
var getPackageName = require('./common').getPackageName;
|
||||
var os = require('os');
|
||||
var pkg = require('../package.json');
|
||||
|
|
@ -19,6 +20,8 @@ namespace('fetch', function () {
|
|||
.then(function () {
|
||||
console.log('Extracting', packageName);
|
||||
jake.exec('tar xf ' + packageName, function () {
|
||||
console.log('Deleting', packageName);
|
||||
fs.unlinkSync(packageName);
|
||||
console.log('Done');
|
||||
complete();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue