0.1.0 • Published 11 years ago

symlink-files v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
11 years ago

symlink-files

Symlink files (keeping the directory structure) during your build.

Installation

npm install symlink-files

Usage

symlink_files("./client/**/*.!(js|html|css)", "./client", "./build", {}, callback);

Works with gulp.

gulp.task("link", function (cb)
{
    symlink_files("./client/**/*.!(js|html|css)", "./client", "./build", {}, callback);
});

Parameters

symlink_files(glob, client_path, build_path, options, callback)

Options

Options is an object with the following possible properties.

    rel     Whether to create relative symlinks or absolute (default: false)
0.1.0

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago