anchor.diff:          Path.GetDirectoryName(dotnetExePath) |> addToPath
       run CWD dotnetExePath "--version"
   
  -let clean_ (full: bool) =
  -    !! "src/dotnet/**/bin"
  -        -- "src/dotnet/Fable.Client.JS/demo/**"
  -        -- "src/dotnet/Fable.Client.JS/testapp/**"
  -        ++ "tests*/**/bin"
  -        ++ "build"
  -        ++ "**/.fable"
  +let clean () =
  +    !! "build" ++ "**/.fable"
       |> CleanDirs
  -
  -    if full then
  -        !! "src/dotnet/**/obj"
  -            ++"tests**/**/obj"
  -        |> CleanDirs
  -
  -let clean () = clean_ false
  -let fullClean () = clean_ true
   
   let nugetRestore dir =
       run dir dotnetExePath "restore"
  
positive.code: )
  
  Target "Clean" clean
  Target "FullClean" fullClean
  Target "FableCLI" (buildCLI Release)
  Target "FableCoreJs" buildCoreJsFull
  Target "FableCoreJsTypescriptOnly" buildCoreJsTypescriptFiles
  
negative.code:     Yarn.run replDir "bundle" ""
  
      // Put fable-core files next to bundle
      let fableCoreTarget = replDir </> "bundle/fable-core"
      FileUtils.cp_r coreJsBuildDir fableCoreTarget
      // These files will be used in the browser, so make sure the import paths include .js extension
      let reg = Regex(@"^import (.*"".*)("".*)$", RegexOptions.Multiline)
      for file in Directory.EnumerateFiles(fableCoreTarget, "*.js", SearchOption.AllDirectories) do
          File.WriteAllText(file, reg.Replace(File.ReadAllText(file), "import $1.js$2"))
  
      // Write version number in a version.txt file
      let release =
          CWD </> "src/dotnet/Fable.Compiler/RELEASE_NOTES.md"
          |> ReleaseNotesHelper.LoadReleaseNotes
      File.WriteAllText(replDir </> "bundle/version.txt", release.NugetVersion)
  
  Target "All" (fun () ->
      installDotnetSdk ()
  