-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Instead of writing to the file system we should also be able to write to something else, like a S3 bucket where we can store the assets.
This is nice ways to integrate the squire build system in existing server architectures.
Square currently only supports writing to:
- File
- STDOUT
Ideally we should add different storage backends so you can for example add your builds to a database, remote server or anything else you want to hook up.
A simular apporach as observing/devnull transports would be suitable for this: https://github.com/observing/devnull/tree/master/transports
var Square = require('square');
var square = new Square();
square.storage(require('square/storage').stdout);
square.storage(require('square/storage/disk');
square.storage(require('square/storage/s3');Or something simular to this..