0 people like it.

Paket: Generate Include Scripts from fsx

Generate Include scripts leveraging paket generate-include-scripts

1: 
2: 
3: 
let path = __SOURCE_DIRECTORY__
let scriptType = Paket.LoadingScripts.ScriptGeneration.FSharp 
Paket.LoadingScripts.ScriptGeneration.generateScriptsForRootFolder scriptType framework (path |> System.IO.DirectoryInfo)
val path : string

Full name: Script.path
val scriptType : Paket.LoadingScripts.ScriptGeneration.ScriptType

Full name: Script.scriptType
namespace Paket
namespace Paket.LoadingScripts
module ScriptGeneration

from Paket.LoadingScripts
union case Paket.LoadingScripts.ScriptGeneration.ScriptType.FSharp: Paket.LoadingScripts.ScriptGeneration.ScriptType
val generateScriptsForRootFolder : scriptType:Paket.LoadingScripts.ScriptGeneration.ScriptType -> (Paket.FrameworkIdentifier -> System.IO.DirectoryInfo -> unit)

Full name: Paket.LoadingScripts.ScriptGeneration.generateScriptsForRootFolder
namespace System
namespace System.IO
Multiple items
type DirectoryInfo =
  inherit FileSystemInfo
  new : path:string -> DirectoryInfo
  member Create : unit -> unit + 1 overload
  member CreateSubdirectory : path:string -> DirectoryInfo + 1 overload
  member Delete : unit -> unit + 1 overload
  member EnumerateDirectories : unit -> IEnumerable<DirectoryInfo> + 2 overloads
  member EnumerateFileSystemInfos : unit -> IEnumerable<FileSystemInfo> + 2 overloads
  member EnumerateFiles : unit -> IEnumerable<FileInfo> + 2 overloads
  member Exists : bool
  member GetAccessControl : unit -> DirectorySecurity + 1 overload
  member GetDirectories : unit -> DirectoryInfo[] + 2 overloads
  ...

Full name: System.IO.DirectoryInfo

--------------------
System.IO.DirectoryInfo(path: string) : unit
Raw view Test code New version

More information

Link:http://fssnip.net/7Qi
Posted:8 years ago
Author:Gauthier Segay
Tags: paket