Skip to content

Add support for S3 uploading of builds. #43

@3rd-Eden

Description

@3rd-Eden

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..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions