Skip to content

Codes can omit files from upload.

Choose a tag to compare

@hrbu hrbu released this 21 Sep 09:16
· 24 commits to master since this release

Goal(s)

  • Allow coders to ignore files unnecessary to be published from upload.
  • Allow coders to check the upload configuration without uploady any files into a Base instance.

Changes

Improvements

.cubblesignore

At the root folder of a webpackage developers can (optionally) provide a file named .cubblesignore. As you know it from .gitignore, developers can define the resources to be ignored from being uploaded using glob-patterns (@see https://github.com/isaacs/node-glob#glob-primer).

dryRun

The upload-configuration now supports a new option "dryRun" [{boolean} (default == false) (optional)].

Setting the value to true

  • prevents the uploader from doing the upload,
  • responds with
    • a list of files to be uploaded AND
    • a list of files to be ignored from upload according to a (optional) '.cubblesignore' file.