Pack/extract a tarball
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
README.md
index.js
package.json

README.md

tar

Create/extract a tarball

Usage

module.exports = {
    plugins: {
        "tar": "mod-tar"
    },
    tasks: {
        "tar": {
            pack: {
                src: "./foo",
                dest: "foo.tar.gz"
            },
            unpack: {
                action: "extract",
                src: "foo.tar.gz",
                dest: "./bar"
            }
        }
    },
    targets: {
        dist: "tar:pack tar:unpack"
    }
};