1.0.22 • Published 8 years ago

wcf-utils v1.0.22

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

WCF Utils

A small library that handles WCF package development utility functions for you. Automatically checks your cwd for a .wcfutil.yml which serves as a configuration file for the tasks that you want to run.

Installation

Run npm install -g wcf-utils to install the package globally and have its binary added to your PATH.

Usage

Create a .wcfutil.yml in your working directory and run wcfutils.

Examples for the configuration file can be found in examples/ and will be further documented at a later point.

Possible tasks

Currently only one task is implemented:

Packaging task

packaging: # The task
    destination: com.example.plugin.tar # The destination file name
    files:
        exclude: # Files or folders that should not show up in the created package
            - README.md
            - .travis.yml
            - .git
        tarball: # Directories that should be tarballed themselves
            - templates
            - files
            - acpTemplates: acptemplate
            # You can also specify that the source and destination name
            # should be different: "acpTemplates" gets tarballed into "acptemplate.tar"

You can also specify that you want to run multiple packaging tasks like so:

packaging:
    -
        destination: com.example.plugin.1.tar
        base: plugin-1
        files:
            # ...
    -
        destination: com.example.plugin.2.tar
        base: plugin-2
        files:
            # ...

This example would not use the current working directory as its base path, but the manually specified base (can also be absolute).

1.0.4

8 years ago

1.0.2

8 years ago

1.0.22

8 years ago

1.0.1

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

1.0.0

8 years ago