Giter Site home page Giter Site logo

wercker-zip's Introduction

Zip

Recursively compress files or directories into a ZIP archive, excludes GIT files by default.

Notes

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Sample Usage

build:
  box: ubuntu:latest
  steps:
    - bashaus/zip:
      cwd: $WERCKER_ROOT/build
      quiet: false

 

Dependencies

This step will install the ZIP package via apt-get if it is not present; however, you should try and make sure it is present in your application.

 

Step Properties

exclude

Define an expression for any files you want to exclude

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline

 

exclude-git

Whether or not you would like to exclude GIT files (e.g.: .git, .gitignore).

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline
  • Default value is: true
  • Validation rules:
    • Must be either true, false, 1 or 0

 

input-files

A space-separated list of files to compress.

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline
  • Default value is: .

 

opts

Any additional options that you want to pass to the ZIP executable.

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline

 

output-file

The output ZIP file to be generated.

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline
  • Default value is: $WERCKER_ROOT/$WERCKER_GIT_COMMIT.zip

 

symlinks

Whether symlinks should be stored as symlinks (true) or if the destination should be copied (false).

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline
  • Default value is: true
  • Validation rules:
    • Must be either true, false, 1 or 0

 

quiet

Whether or not to be quiet (true) or verbose (false) about the ZIP output.

  • Since: 0.0.1
  • Property is Optional
  • Recommended location: Inline
  • Default value is: true
  • Validation rules:
    • Must be either true, false, 1 or 0

 

wercker-zip's People

Watchers

James Cloos avatar  avatar

Forkers

markxnelson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.