Olaf
Olaf

Reputation: 3986

Fake: What is the difference between fileset selectors: !!, ++ and !+

There are different fileset selectors in FAKE. What is the difference between these: !!, ++, !+?

I found these examples:

Example 1:

// Filesets
let appReferences  = 
  !! "src/app/**/*.csproj" 
    ++ "src/app/**/*.fsproj"

Example 2:

// files
let appReferences =
  !+ "./src/**/*.fsproj"
    |> Scan

Example 3:

let filesToZip =
  !+ (buildDir + "/**/*.*")
    -- "*.zip"
    |> Scan

Upvotes: 1

Views: 115

Answers (1)

forki23
forki23

Reputation: 2814

!+ "./src/**/*.fsproj"
  |> Scan

is obsolete and replaced by !!

-- "*.zip" 

excludes files from the fileset above.

Upvotes: 1

Related Questions