bufferapp / buffer-static-upload

📁→☁️🤘 Making it easy to upload your static assets
MIT License
4 stars 4 forks source link

Auto-expand glob patterns for ease of use #13

Open djfarrelly opened 5 years ago

djfarrelly commented 5 years ago

Purpose

Globs in golang work differently the globs have worked in popular node.js libraries like gulp. To make the usage of this simpler we could make /**/*.jpg also look in the first level dir for *.jpg files.

Example

public/img/**/**/*.*

Turns into this automatically, resulting in a more shorter usage:

public/img/**/**/*.*
public/img/**/*.*
public/img/*.*