![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
gulp-delete-file
Advanced tools
Initially, install gulp-delete-file
as a development dependency:
npm install --save gulp-delete-file
Then, create task using gulp-delete-file
, which might look similar as below:
'use strict';
var gulp = require('gulp'),
deletefile = require('gulp-delete-file');
gulp.task('deletefile', function () {
var regexp = /\w*(\-\w{8}\.js){1}$|\w*(\-\w{8}\.css){1}$/;
gulp.src(['./build/public/train/**/*.js',
'./build/public/train/**/*.css',
'./build/public/train/**/*.scss',
'./build/public/train/**/*.less'
]).pipe(deletefile({
reg: regexp,
deleteMatch: false
}))
});
Finally, fire gulp task:
gulp deletefile
reg
:is a RegExp Object
deleteMatch
:if the value is 'true',then the command will delete all the files which match the reg-rule. if it is 'false',then delete all the files which doesn't match the reg-rule.
├── _common
│ ├── bridge
│ ├── hybrid
│ ├── icons
│ ├── msg-f90a9a3d.js
│ ├── msg.js
│ ├── train-487d2c1f.css
│ ├── train-count-ad175de1.js
│ ├── train-count.js
│ ├── train.css
│ ├── train.scss
│ ├── utils-e3a5c9fc.js
│ ├── utils.js
│ └── vendors
├── _common
│ ├── bridge
│ ├── hybrid
│ ├── icons
│ ├── msg-f90a9a3d.js
│ ├── train-487d2c1f.css
│ ├── train-count-ad175de1.js
│ ├── utils-e3a5c9fc.js
│ └── vendors
FAQs
gulp plugin to delete matched file based on RegExp Obj
The npm package gulp-delete-file receives a total of 0 weekly downloads. As such, gulp-delete-file popularity was classified as not popular.
We found that gulp-delete-file demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.