Giter Club home page Giter Club logo

cake.longpath.module's Introduction

Cake LongPath Module

Cake Module that adds long path support to build scripts running on Windows using Pri.LongPath

This module replaces the default IFileSystem with one that uses Pri.LongPath to give long path support. This is an early alpha version, so still pre-release and made avail for testing purposes.

Installation

Pre-compiled binaries are available on NuGet package id Cake.LongPath.Module, Cake modules are automatically loaded based on the tools/modules folder relative to the Cake script being executed.

  1. Create folder tools\modules
  2. Install Cake.LongPath.Module from nuget
nuget.exe install Cake.LongPath.Module -PreRelease -ExcludeVersion -OutputDirectory "tools\modules" -Source https://www.nuget.org/api/v2/
  1. Next time you execute your build script the new module should be loaded.

Folder structure after installation should look something like this

|   build.cake
\---tools
    +---Cake
    |       Cake.exe
    |       ...
    |
    \---modules
        \---Cake.LongPath.Module
                Cake.LongPath.Module.dll
                ...

You can find an minimal example of module installation script in moduleusageexample/build.cmd, that should output something like below if everything works:

Sucessfully loaded [path to moduleusageexample]\tools\modules\Cake.LongPath.Module\Cake.LongPath.Module.dll
IFileSystem: Cake.LongPath.Module.LongPathFileSystem
        IFile: Cake.LongPath.Module.LongPathFile
        IDirectory: Cake.LongPath.Module.LongPathFile

Test

The project is setup to debug using moduletest/test.cake, you can also execute it from the command-line using moduletest/test.cmd.

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.