Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<configuration>
<packageSources>
<clear />
<add key="NuGetVolatile" value="https://www.myget.org/F/nuget-volatile/api/v3/index.json" />
<add key="fsharp-sdk" value="https://www.myget.org/F/netcorecli-fsc-preview3/api/v3/index.json" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<disabledPackageSources>
Expand Down
7 changes: 5 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ let gitName = "Paket"
// The url for the raw files hosted
let gitRaw = environVarOrDefault "gitRaw" "https://raw.github.com/fsprojects"

let dotnetcliVersion = "1.0.0-preview4-004079"
let dotnetcliVersion = "1.0.0-preview3-004056"

let dotnetCliPath = DirectoryInfo "./dotnetcore"

let netcoreFiles = !! "src/**/*.preview?.fsproj" |> Seq.toList
let netcoreFiles = !! "src/**.preview?/*.fsproj" |> Seq.toList

// --------------------------------------------------------------------------------------
// END TODO: The rest of the file includes standard build steps
Expand Down Expand Up @@ -157,6 +157,9 @@ Target "InstallDotNetCore" (fun _ ->
webclient.DownloadFile(downloadPath, localPath)

System.IO.Compression.ZipFile.ExtractToDirectory(localPath, dotnetCliPath.FullName)

let oldPath = System.Environment.GetEnvironmentVariable("PATH")
System.Environment.SetEnvironmentVariable("PATH", sprintf "%s%s%s" dotnetCliPath.FullName (System.IO.Path.PathSeparator.ToString()) oldPath)
)

// --------------------------------------------------------------------------------------
Expand Down
206 changes: 96 additions & 110 deletions integrationtests/Paket.IntegrationTests/Paket.IntegrationTests.fsproj

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion integrationtests/Paket.IntegrationTests/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit3TestAdapter" version="3.4.1" />
<package id="NUnit3TestAdapter" version="3.6.0" />
</packages>
2 changes: 0 additions & 2 deletions paket.dependencies
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
source https://nuget.org/api/v2
source https://www.myget.org/F/nuget-volatile/api/v3/index.json
source https://www.myget.org/F/netcorecli-fsc-preview3/api/v3/index.json

nuget Newtonsoft.Json redirects: force
nuget Argu prerelease
Expand Down
2,461 changes: 1,249 additions & 1,212 deletions paket.lock

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions src/Paket.Core.preview3/Paket.Core.fsproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<PropertyGroup>
<TargetFramework>netstandard1.6</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<Version>1.0.0-preview3</Version>
<Authors>Enrico Sada</Authors>
<PaketCoreSourcesDir>..\Paket.Core</PaketCoreSourcesDir>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\paket-files\fsharp\FAKE\src\app\FakeLib\Globbing\Globbing.fs">
<Paket>True</Paket>
<Link>Globbing.fs</Link>
</Compile>
<Compile Include="..\..\paket-files\fsprojects\FSharp.TypeProviders.StarterPack\src\AssemblyReader.fs">
<Paket>True</Paket>
<Link>AssemblyReader.fs</Link>
</Compile>
<Compile Include="$(PaketCoreSourcesDir)\Async.fs" />
<Compile Include="$(PaketCoreSourcesDir)\AssemblyInfo.fs" />
<Compile Include="$(PaketCoreSourcesDir)\CustomAssemblyInfo.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Domain.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Logging.fsi" />
<Compile Include="$(PaketCoreSourcesDir)\Logging.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Constants.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Utils.fs" />
<Compile Include="$(PaketCoreSourcesDir)\SemVer.fs" />
<Compile Include="$(PaketCoreSourcesDir)\VersionRange.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Xml.fs" />
<Compile Include="$(PaketCoreSourcesDir)\GitCommandHelper.fs" />
<Compile Include="$(PaketCoreSourcesDir)\GitHandling.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ConfigFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Cache.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Cultures.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PackageSources.fs" />
<Compile Include="$(PaketCoreSourcesDir)\FrameworkHandling.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PlatformMatching.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Requirements.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ModuleResolver.fs" />
<Compile Include="$(PaketCoreSourcesDir)\RemoteDownload.fs" />
<Compile Include="$(PaketCoreSourcesDir)\RemoteUpload.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PackageResolver.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Nuspec.fs" />
<Compile Include="$(PaketCoreSourcesDir)\InstallModel.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ReferencesFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\SolutionFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Nuget.fs" />
<Compile Include="$(PaketCoreSourcesDir)\NuGetV3.fs" />
<Compile Include="$(PaketCoreSourcesDir)\NuGetV2.fs" />
<Compile Include="$(PaketCoreSourcesDir)\DependenciesTypes.fs" />
<Compile Include="$(PaketCoreSourcesDir)\DependenciesFileParser.fs" />
<Compile Include="$(PaketCoreSourcesDir)\LockFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\TemplateFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PackagesConfigFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ProjectFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\DependenciesFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\LocalFile.fs" />
<Compile Include="$(PaketCoreSourcesDir)\DependencyChangeDetection.fs" />
<Compile Include="$(PaketCoreSourcesDir)\GarbageCollection.fs" />
<Compile Include="$(PaketCoreSourcesDir)\RestoreProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\BindingRedirects.fs" />
<Compile Include="$(PaketCoreSourcesDir)\NupkgWriter.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ProcessOptions.fs" />
<Compile Include="$(PaketCoreSourcesDir)\DependencyModel.fs" />
<Compile Include="$(PaketCoreSourcesDir)\InstallProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\UpdateProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\RemoveProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\AddProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PackageMetaData.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PackageProcess.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Environment.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Releases.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Simplifier.fs" />
<Compile Include="$(PaketCoreSourcesDir)\VSIntegration.fs" />
<Compile Include="$(PaketCoreSourcesDir)\NugetConvert.fs" />
<Compile Include="$(PaketCoreSourcesDir)\FindOutdated.fs" />
<Compile Include="$(PaketCoreSourcesDir)\FindReferences.fs" />
<Compile Include="$(PaketCoreSourcesDir)\Why.fs" />
<Compile Include="$(PaketCoreSourcesDir)\PublicAPI.fs" />
<Compile Include="$(PaketCoreSourcesDir)\ScriptGeneration.fs" />
</ItemGroup>
<ItemGroup>
<None Include="$(PaketCoreSourcesDir)\paket.template" />
<None Include="paket.references" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Sdk">
<Version>1.0.0-alpha-20161104-2</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="FSharp.NET.Sdk">
<Version>1.0.0-alpha-*</Version>
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<PropertyGroup>
<DefineConstants>$(DefineConstants);DOTNETCORE;NETSTANDARD1_5;NETSTANDARD1_6;USE_HTTP_CLIENT</DefineConstants>
</PropertyGroup>
<ItemGroup>
<DotNetCliToolReference Include="dotnet-compile-fsc">
<Version>1.0.0-preview2-020000</Version>
</DotNetCliToolReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>
16 changes: 16 additions & 0 deletions src/Paket.Core.preview3/paket.references
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Newtonsoft.Json
FSharp.Core
Mono.Cecil
Chessie

System.Diagnostics.TraceSource
System.Xml.XPath.XmlDocument
System.Diagnostics.Process
System.Xml.XDocument
System.Xml.XPath.XDocument
System.Security.Cryptography.ProtectedData
System.Security.Cryptography.Algorithms
System.Diagnostics.FileVersionInfo

File:Globbing.fs .
File:AssemblyReader.fs .
2 changes: 1 addition & 1 deletion src/Paket.Core/LockFile.fs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ type LockFile(fileName:string,groups: Map<GroupName,LockFileGroup>) =

member this.CheckIfPackageExistsInAnyGroup (packageName:PackageName) =
match groups |> Seq.tryFind (fun g -> g.Value.Resolution.ContainsKey packageName) with
| Some group -> sprintf "%sHowever, %O was found in group %O." Environment.NewLine PackageName group.Value.Name
| Some group -> sprintf "%sHowever, %O was found in group %O." Environment.NewLine packageName group.Value.Name
| None -> ""


Expand Down
Loading