FAKE中有不同的文件集选择器。这些有什么区别:!!,++,!+?
我找到了这些例子:
示例1:
StorageFolder local = ApplicationData.Current.LocalFolder;
var json = new DataContractJsonSerializer(typeof(RouteList));
var file = await local.CreateFileAsync(filename,CreationCollisionOption.OpenIfExists);
MemoryStream stream = new MemoryStream();
json.WriteObject(stream, routes);
await FileIO.WriteBytesAsync(file, stream.ToArray());
示例2:
// Filesets
let appReferences =
!! "src/app/**/*.csproj"
++ "src/app/**/*.fsproj"
示例3:
// files
let appReferences =
!+ "./src/**/*.fsproj"
|> Scan
答案 0 :(得分:1)
!+ "./src/**/*.fsproj"
|> Scan
已过时,取而代之的是!!
-- "*.zip"
从上面的文件集中排除文件。