Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP Make Paket work with dotnet cli preview3 #1977

Merged
merged 354 commits into from
Mar 15, 2017
Merged
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
354 commits
Select commit Hold shift + click to select a range
fecd914
fix preview2 project.json
enricosada Nov 4, 2016
22ea7c2
cleanup
enricosada Nov 4, 2016
598bbff
fix e workarounds. Paket now work as console app
enricosada Nov 4, 2016
0289b3c
Merge branch 'master' into core3
forki Nov 4, 2016
7b8771b
Merge branch 'master' into core3
forki Nov 5, 2016
3ebc691
Merge branch 'master' into core3
forki Nov 5, 2016
d08f67c
restore more .net stuff
forki Nov 5, 2016
e7f19c1
Use more via paket
forki Nov 5, 2016
ba87f38
Merge branch 'master' into core3
forki Nov 5, 2016
8315dca
Revert "Use more via paket"
forki Nov 5, 2016
6a45f3d
Merge branch 'master' into core3
forki Nov 5, 2016
2fb4b5e
Urgs
forki Nov 5, 2016
c98630e
Add deps
forki Nov 5, 2016
a991bb8
Merge branch 'master' into core3
forki Nov 5, 2016
4fbad3e
remove PackageReference nodes upon convert
theimowski Nov 4, 2016
2b163ec
remove duplicate deps
forki Nov 7, 2016
aba9eb7
Merge branch 'allow_max_file_age_in_magic' of https://github.com/vbfo…
forki Nov 7, 2016
3eac74d
hardocde dotnet-core and cli-deps nuget feeds when converting from nuget
theimowski Nov 8, 2016
b2655e9
Merge branch 'core3' of https://github.com/fsprojects/Paket into core3
forki Nov 10, 2016
f9c67dc
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Nov 10, 2016
f7a7bad
Bump version to 4.0.0-alpha023
forki Nov 10, 2016
6f6a294
Merge branch 'master' into core3
forki Nov 17, 2016
7f9faa4
Bump version to 4.0.0-alpha024
forki Nov 17, 2016
c55a218
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Nov 20, 2016
f6def9e
leave PackageReference with PrivateAssets = All
theimowski Nov 22, 2016
69f816b
Merge branch 'master' into core3
forki Nov 23, 2016
b791e12
Bump version to 4.0.0-alpha026
forki Nov 23, 2016
9f01dc7
Merge branch 'core3' of https://github.com/fsprojects/Paket into core3
forki Nov 23, 2016
681f52a
RELEASE_NOTES
forki Nov 23, 2016
dd998d5
Bump version to 4.0.0-alpha027
forki Nov 23, 2016
e2e41c7
package resovler refactor
cloudRoutine Nov 23, 2016
7baa6a0
Merge branch 'master' into core3
forki Nov 23, 2016
8aa791c
Bump version to 4.0.0-alpha028
forki Nov 23, 2016
78713df
fix bug involving unlisted packages
cloudRoutine Nov 23, 2016
a32d14e
adjust when versionsToExplore is set in stepLoop
cloudRoutine Nov 23, 2016
e144fd8
fix ninject test
cloudRoutine Nov 23, 2016
a8aa33a
Merge branch 'overflow' of https://github.com/cloudRoutine/Paket into…
forki Nov 25, 2016
eb7eb84
RELEASE_NOTES
forki Nov 25, 2016
c04bfd3
Bump version to 4.0.0-alpha029
forki Nov 25, 2016
0b9362f
opt to read Version of PAckageReference from attribute
theimowski Nov 28, 2016
ccfd6d7
Merge branch 'master' into core3
forki Nov 29, 2016
91976bb
Bump version to 4.0.0-alpha030
forki Nov 29, 2016
74f8596
stackpack and debug & structured displays
cloudRoutine Dec 1, 2016
e1baab5
step and steploop can stand independently
cloudRoutine Dec 2, 2016
5a64291
reorganize step function
cloudRoutine Dec 2, 2016
14034ef
maintain lists of floating conflicts and steps
cloudRoutine Dec 3, 2016
65b29e7
tail recursive package resolution
cloudRoutine Dec 3, 2016
cd6d161
update mono check
cloudRoutine Dec 3, 2016
abaebbf
fix flag in outer loop stage
cloudRoutine Dec 3, 2016
fd1108f
more detailed verbose output
cloudRoutine Dec 4, 2016
677b862
additional flag to track an unlisted package search inner step loop
cloudRoutine Dec 5, 2016
804165c
use correct cli version on travis
cloudRoutine Dec 5, 2016
357898c
Merge branch 'master' into core3
forki Dec 12, 2016
4e88a38
Bump version to 4.0.0-alpha031
forki Dec 12, 2016
b5b1491
back to magic mode
cloudRoutine Dec 12, 2016
7d6f95c
don't run 'dotnet pack'
cloudRoutine Dec 12, 2016
0814ad1
Merge branch 'overflow' of https://github.com/cloudRoutine/Paket into…
forki Dec 13, 2016
037c573
RELEASE_NOTES
forki Dec 13, 2016
64aca5c
RELEASE_NOTES
forki Dec 13, 2016
27a3ece
Bump version to 4.0.0-alpha032
forki Dec 13, 2016
19df3ec
use .net core sdk preview4
enricosada Dec 13, 2016
70d788e
fix dotnet pack to temp/dotnetcore directory
enricosada Dec 13, 2016
95972bb
merge .net core package in normal one
enricosada Dec 13, 2016
93f1c6c
remove install from travis because installed by build script
enricosada Dec 13, 2016
6f1e2ba
fix travis 1 of N
enricosada Dec 13, 2016
76a75e5
fix travis 2 of N
enricosada Dec 13, 2016
f48750f
fix travis 3 of N
enricosada Dec 13, 2016
dd35fb9
trying to fix `dotnet pack` nuspec (the package references)
enricosada Dec 13, 2016
83b8f5d
fix real target file
enricosada Dec 13, 2016
7bdc329
fix travis 4 of N
enricosada Dec 13, 2016
6e42af8
fix travis 5 of N
enricosada Dec 13, 2016
9007def
fix travis 6 of N
enricosada Dec 13, 2016
75cd590
fix travis 7 of N
enricosada Dec 13, 2016
45f96ad
fix travis 8 of N
enricosada Dec 13, 2016
fe6e713
remove flaky test
forki Dec 15, 2016
ebe9da3
skip temporary failing test
enricosada Dec 15, 2016
f850345
Merge branch 'master' into core3
forki Dec 17, 2016
0cb052f
Bump version to 4.0.0-alpha033
forki Dec 17, 2016
78ad174
Merge branch 'master' into core3
forki Dec 18, 2016
b2fe151
Transitive deps
forki Dec 18, 2016
70147d1
Report which package was unlisted - references #2084
forki Dec 18, 2016
a972d10
Report which package was unlisted - references #2084
forki Dec 18, 2016
3df603e
Bump version to 4.0.0-alpha034
forki Dec 18, 2016
c8aacce
Do not turn on auto-restore on core projects - fixes #2085
forki Dec 18, 2016
2fcd842
Bump version to 4.0.0-alpha035
forki Dec 18, 2016
68e7948
Merge branch 'master' into core3
forki Dec 20, 2016
ac323ab
Use DefaultNameSpace from document
forki Dec 20, 2016
7cc836e
Bump version to 4.0.0-alpha036
forki Dec 20, 2016
5c85f73
Fix xmlns namespace in import #2085
bhugot Dec 20, 2016
68ef4f3
RELEASE_NOTES
forki Dec 20, 2016
2793973
Bump version to 4.0.0-alpha037
forki Dec 20, 2016
48d70da
Merge branch 'master' into core3
forki Dec 20, 2016
f80c147
Bump version to 4.0.0-alpha038
forki Dec 20, 2016
7ff8f5a
null is awaited so no need to test for null #2085
bhugot Dec 20, 2016
65e61dd
Merge branch 'master' into core3
forki Dec 20, 2016
3262a2c
Bump version to 4.0.0-alpha039
forki Dec 20, 2016
cc98962
Merge branch 'master' into core3
forki Dec 21, 2016
e33d533
Bump version to 4.0.0-alpha040
forki Dec 21, 2016
83a5d47
added try catch
bhugot Dec 21, 2016
ce64020
Merge pull request #2093 from bhugot/patch-2
forki Dec 22, 2016
e498c86
RELEASE_NOTES
forki Dec 22, 2016
41cf1fa
Bump version to 4.0.0-alpha041
forki Dec 22, 2016
cdc5c75
Merge branch 'master' into core3
forki Jan 3, 2017
82b273e
Bump version to 4.0.0-alpha042
forki Jan 3, 2017
a2d296e
Merge branch 'master' into core3
forki Jan 6, 2017
587da63
Bump version to 4.0.0-alpha043
forki Jan 6, 2017
10f2886
Merge branch 'master' into core3
forki Jan 8, 2017
6da0cc9
Bump version to 4.0.0-alpha044
forki Jan 8, 2017
3d68d59
Merge branch 'master' into core3
forki Jan 10, 2017
6a33c18
Bump version to 4.0.0-alpha045
forki Jan 10, 2017
d820ccf
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Jan 11, 2017
91c7485
Use latest .NET core
forki Jan 16, 2017
445e5e3
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Jan 16, 2017
e8ba92b
Fix urls
forki Jan 16, 2017
b5f4cb1
first stab at restructuring Paket.Core project to leverage *Folder St…
smoothdeveloper Jan 18, 2017
d572d6e
Merge branch 'master' into core3
forki Jan 18, 2017
897c09f
Merge branch 'folder-structure-1' of https://github.com/smoothdevelop…
forki Jan 18, 2017
ef68add
use 1.0.0-preview4-004233 that's the latest released preview4
enricosada Jan 19, 2017
c8e07aa
use the azureedge mirror because is faster
enricosada Jan 19, 2017
9a36945
fix filename
enricosada Jan 19, 2017
4a1c9c3
fix merge
enricosada Jan 19, 2017
ed4a92c
Merge pull request #2115 from enricosada/fix_preview4_install
forki Jan 20, 2017
f2bf4c6
Make it work on mono
forki Jan 23, 2017
fc78793
Us appdata for dotnet
forki Jan 23, 2017
abe85e9
Bump version to 4.0.0-beta001
forki Jan 23, 2017
f6bdb66
update all the things
forki Jan 23, 2017
40b0576
Update embedded
forki Jan 23, 2017
cbc0f55
Update embedded
forki Jan 23, 2017
f616c8b
new option generate_load_scripts: on|off|true|false in paket.dependen…
smoothdeveloper Jan 19, 2017
864e19b
rename in PublicAPI.fs GenerateLoadScripts for better consistency to …
smoothdeveloper Jan 23, 2017
5f01493
fix netcore build
smoothdeveloper Jan 23, 2017
e993cac
fix failing tests (wrong default in ReferencesFile) and attempt to fi…
smoothdeveloper Jan 23, 2017
c12c759
Merge branch 'master' into core3
forki Jan 24, 2017
04ae46e
Bump version to 4.0.0-beta003
forki Jan 24, 2017
e20db3a
Merge branch 'generate-load-scripts-on-install' of https://github.com…
forki Jan 24, 2017
024619b
RELEASE_NOTES
forki Jan 24, 2017
965d50e
Bump version to 4.0.0-beta004
forki Jan 24, 2017
eb3f0ac
add osx-specific changes to allow for easier building
baronfel Jan 24, 2017
eca6030
Merge pull request #2120 from baronfel/add_osx_dotnet
forki Jan 25, 2017
f21b764
Added docs for `generate_load_scripts` option
battermann Jan 25, 2017
bad148b
minor formatting
battermann Jan 25, 2017
e73eb7e
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Jan 25, 2017
f26e3f9
RELEASE_NOTES
forki Jan 25, 2017
7ca44ba
RELEASE_NOTES
forki Jan 25, 2017
aafcd89
Bump version to 4.0.0-beta005
forki Jan 25, 2017
65b7365
Merge branch 'core3' of https://github.com/fsprojects/Paket into core3
forki Jan 25, 2017
355dd46
Bump version to 4.0.0-beta006
forki Jan 25, 2017
c9d367a
docs: generate scripts on package installation
battermann Jan 25, 2017
192ae01
Merge pull request #2123 from battermann/patch-1
forki Jan 25, 2017
63d376d
Merge branch 'master' into core3
forki Jan 29, 2017
7a2563f
Bump version to 4.0.0-beta007
forki Jan 29, 2017
4980289
Merge branch 'master' into core3
forki Jan 30, 2017
b13b0cb
Bump version to 4.0.0-beta008
forki Jan 30, 2017
afa5e51
Merge branch 'ignore_unknown_frameworks' of https://github.com/vbfox/…
forki Jan 31, 2017
80fe22d
Merge branch 'master' into core3
forki Jan 31, 2017
23246f7
Bump version to 4.0.0-beta009
forki Jan 31, 2017
3b7e3b4
* handle generate-load-script command
smoothdeveloper Feb 8, 2017
049f9d2
missing update in documentation template
smoothdeveloper Feb 9, 2017
06f4544
add note regarding command rename since V3
smoothdeveloper Feb 9, 2017
d5f55b6
RELEASE_NOTES
forki Feb 10, 2017
006b922
Bump version to 4.0.0-beta010
forki Feb 10, 2017
e6ada47
RELEASE_NOTES
forki Feb 10, 2017
a99ce70
Bump version to 4.0.0-beta011
forki Feb 10, 2017
d88c32c
Fix https://github.com/fable-compiler/fable-suave-scaffold/pull/31
forki Feb 16, 2017
a6ebfe8
Bump version to 4.0.0-beta012
forki Feb 16, 2017
b8bca6d
Merge branch 'master' into core3
forki Feb 17, 2017
34c14cf
Bump version to 4.0.0-beta013
forki Feb 17, 2017
c950e23
Merge branch 'master' into core3
forki Feb 17, 2017
37154bd
Merge branch 'master' into core3
forki Feb 17, 2017
27d37cf
fix test
forki Feb 17, 2017
9afb18d
Bump version to 4.0.0-beta014
forki Feb 17, 2017
038513d
Merge branch 'master' into core3
forki Feb 22, 2017
5aba2f0
Bump version to 4.0.0-beta015
forki Feb 22, 2017
15c861c
Do not spam "unlisted" - fixes #2149
forki Feb 23, 2017
e9b581c
Merge branch 'master' into core3
forki Feb 23, 2017
39468c9
Bump version to 4.0.0-beta016
forki Feb 23, 2017
702789b
Merge branch 'master' into core3
forki Feb 23, 2017
0c4d1ec
Bump version to 4.0.0-beta017
forki Feb 23, 2017
11b770e
New switch for install to generate load scripts
forki Feb 24, 2017
f2ff00b
remove print statements in generated load scripts
smoothdeveloper Feb 25, 2017
1beb673
Merge branch 'script-remove-print' of https://github.com/smoothdevelo…
forki Feb 25, 2017
86f2b94
RELEASE_NOTES
forki Feb 25, 2017
405f85b
Bump version to 4.0.0-beta019
forki Feb 25, 2017
20e42cf
minor fixes in doc related to load scripts
smoothdeveloper Feb 25, 2017
bf78534
Merge pull request #2154 from smoothdeveloper/load-script-doc-fixes
forki Feb 25, 2017
47837be
Merge branch 'master' into core3
forki Feb 25, 2017
996547e
Bump version to 4.0.0-beta020
forki Feb 25, 2017
30fcd34
Allow to specify framework for load scripts
forki Feb 26, 2017
fc6683a
Bump version to 4.0.0-beta021
forki Feb 26, 2017
5a509bf
Create alternativeProjectRoot for refs
forki Feb 26, 2017
a853ea9
Bump version to 4.0.0-beta022
forki Feb 26, 2017
a3ebda6
Always generate Main group load script
forki Feb 27, 2017
605e28b
Bump version to 4.0.0-beta023
forki Feb 27, 2017
f40e590
add additional paket.references format
cloudRoutine Feb 27, 2017
b2e70c9
Merge pull request #2157 from cloudRoutine/restore-targets
forki Feb 27, 2017
0733a9d
Merge branch 'master' of https://github.com/fsprojects/Paket into core3
forki Feb 27, 2017
c82c512
Merge branch 'core3' of https://github.com/fsprojects/Paket into core3
forki Feb 27, 2017
3a6216a
Revert bug
forki Feb 27, 2017
d36a687
Bump version to 4.0.0-beta024
forki Feb 27, 2017
b4a930c
fix bug in scripts
forki Feb 27, 2017
d157ea9
Bump version to 4.0.0-beta025
forki Feb 27, 2017
a3ae219
wtf
forki Feb 27, 2017
cb332ea
Bump version to 4.0.0-beta026
forki Feb 27, 2017
a1ae096
Always generate Main group load script
forki Feb 28, 2017
4610ca6
Bump version to 4.0.0-beta027
forki Feb 28, 2017
60d3845
RELEASE_NOTES
forki Feb 28, 2017
d6287bc
Bump version to 4.0.0-beta028
forki Feb 28, 2017
c12e4b7
fix test
forki Feb 28, 2017
9076fbf
#2156 exclude framework assemblies when generating scripts for netcor…
smoothdeveloper Feb 28, 2017
804af09
handle group script
smoothdeveloper Feb 28, 2017
f563787
Merge pull request #2162 from smoothdeveloper/exclude-fx-assemblies-f…
forki Mar 2, 2017
1c9b723
Merge branch 'master' into core3
forki Mar 2, 2017
68c5f14
Merge branch 'core3' of https://github.com/fsprojects/Paket into core3
forki Mar 2, 2017
13bd092
RELEASE_NOTES
forki Mar 2, 2017
d8c3d2d
Bump version to 4.0.0-beta029
forki Mar 2, 2017
bd3579f
Merge branch 'master' into core3
forki Mar 3, 2017
4573749
Bump version to 4.0.0-beta030
forki Mar 3, 2017
047977f
Polish and Cleanup
cloudRoutine Mar 4, 2017
5fe724e
Merge pull request #2171 from cloudRoutine/restore
forki Mar 6, 2017
c754314
collect multiple install errors before failing
cloudRoutine Mar 7, 2017
d9d4605
collect errors for git dependencies
cloudRoutine Mar 7, 2017
5ef6ce5
fix vs2017 installation bug
cloudRoutine Mar 8, 2017
1212680
Merge pull request #2177 from cloudRoutine/collect-errors
forki Mar 9, 2017
95c7ccb
version bump
cloudRoutine Mar 10, 2017
38d637a
Merge pull request #2181 from cloudRoutine/core3
forki Mar 12, 2017
45b8a33
RELEASE_NOTES
forki Mar 12, 2017
a4a2777
Update all deps
forki Mar 12, 2017
8379820
Bump version to 4.0.0-rc1
forki Mar 12, 2017
d94ab9a
Allow to append to groups
forki Mar 12, 2017
7681e29
Bump version to 4.0.0-rc2
forki Mar 12, 2017
6194d99
Fix GetToolsVersion
forki Mar 13, 2017
1f3d6bb
Bump version to 4.0.0-rc3
forki Mar 13, 2017
3007538
Update FAKE
forki Mar 13, 2017
3751e41
Merge branch 'master' into core3
forki Mar 13, 2017
4be0c3e
Merge branch 'master' into core3
forki Mar 13, 2017
63288d7
fix build
forki Mar 13, 2017
38c067a
Bump version to 4.0.0-rc4
forki Mar 13, 2017
2c0f9b4
Fix missing values
forki Mar 13, 2017
941e69a
fix test
forki Mar 13, 2017
3521d68
Depend on CollectPackageReference - references #2086
forki Mar 14, 2017
d91e4d6
Use netstandard1.3 - references #2086
forki Mar 14, 2017
d3ef937
Bump version to 4.0.0-rc5
forki Mar 14, 2017
2938ea7
fix typo
forki Mar 14, 2017
516c833
Bump version to 4.0.0-rc6
forki Mar 14, 2017
95a753f
fix typo
forki Mar 14, 2017
74d2a39
Bump version to 4.0.0-rc7
forki Mar 14, 2017
91241ea
Detect sdk versions - fixes #2182
forki Mar 14, 2017
9bdc929
Bump version to 4.0.0-rc8
forki Mar 14, 2017
05e9caf
Detect sdk versions - fixes #2182
forki Mar 14, 2017
e198b7f
Bump version to 4.0.0-rc9
forki Mar 14, 2017
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
22 changes: 22 additions & 0 deletions .paket/Paket.Restore.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Mark that this target file has been loaded. -->
<IsPaketRestoreTargetsFileLoaded>true</IsPaketRestoreTargetsFileLoaded>
</PropertyGroup>

<UsingTask TaskName="Paket.Build.Tasks.PaketRestoreTask" AssemblyFile="PaketRestoreTask.dll" />

<Target Name="PaketRestore" BeforeTargets="_GenerateRestoreGraphWalkPerFramework" >
<Exec Command="$(MSBuildThisFileDirectory)\paket.exe restore --project $(MSBuildProjectFullPath)" />

<!-- Write out package references for NETCore -->
<PaketRestoreTask
ProjectUniqueName="$(MSBuildProjectFullPath)"
PackageReferences="@(PackageReference)"
TargetFrameworks="$(TargetFramework)">
<Output
TaskParameter="NewPackageReferences"
ItemName="PackageReference" />
</PaketRestoreTask>
</Target>
</Project>
Binary file removed .paket/paket.bootstrapper.exe
Binary file not shown.
Binary file added .paket/paket.exe
Binary file not shown.
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
#### 4.0.0-alpha007 - 24.10.2016
* Make Paket compatible with dotnet sdk preview3
* New Command: paket why - https://github.com/fsprojects/Paket/pull/1960
* USABILITY: Bootstraper magic mode & run - https://github.com/fsprojects/Paket/pull/1961
* USABILITY: Added option to have paket restore fail on check failure - https://github.com/fsprojects/Paket/pull/1963

#### 3.23.2 - 11.10.2016
* USABILITY: Specify Chessie version - https://github.com/fsprojects/Paket/issues/1958

Expand Down
5 changes: 0 additions & 5 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
@echo off
cls

.paket\paket.bootstrapper.exe prerelease
if errorlevel 1 (
exit /b %errorlevel%
)

.paket\paket.exe restore
if errorlevel 1 (
exit /b %errorlevel%
Expand Down
3 changes: 2 additions & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Target "AssemblyInfo" (fun _ ->
let fsProjs = !! "src/**/*.fsproj"
let csProjs = !! "src/**/*.csproj"
fsProjs |> Seq.iter genFSAssemblyInfo
csProjs |> Seq.iter genCSAssemblyInfo
csProjs |> Seq.filter (fun s -> s.Contains "PaketRestoreTask") |> Seq.iter genCSAssemblyInfo
)

// --------------------------------------------------------------------------------------
Expand Down Expand Up @@ -477,6 +477,7 @@ Target "ReleaseGitHub" (fun _ ->
|> uploadFile "./bin/merged/paket.exe"
|> uploadFile "./bin/paket.bootstrapper.exe"
|> uploadFile ".paket/paket.targets"
|> uploadFile ".paket/Paket.Restore.targets"
|> releaseDraft
|> Async.RunSynchronously
)
Expand Down
25 changes: 0 additions & 25 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ if test "$OS" = "Windows_NT"
then
# use .Net

.paket/paket.bootstrapper.exe prerelease
exit_code=$?
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi

.paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
Expand All @@ -17,25 +11,6 @@ then

packages/build/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx
else
# use mono
mono .paket/paket.bootstrapper.exe prerelease
exit_code=$?
if [ $exit_code -ne 0 ]; then
certificate_count=$(certmgr -list -c Trust | grep X.509 | wc -l)
if [ $certificate_count -le 1 ]; then
echo "Couldn't download Paket. This might be because your Mono installation"
echo "doesn't have the right SSL root certificates installed. One way"
echo "to fix this would be to download the list of SSL root certificates"
echo "from the Mozilla project by running the following command:"
echo ""
echo " mozroots --import --sync"
echo ""
echo "This will import over 100 SSL root certificates into your Mono"
echo "certificate repository. Then try running the build script again."
fi
exit $exit_code
fi

mono .paket/paket.exe restore
exit_code=$?
if [ $exit_code -ne 0 ]; then
Expand Down
1 change: 1 addition & 0 deletions docs/content/paket-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ OPTIONS:
--log-file <path> Specify a log file for the paket process.
--silent, -s Suppress console output for the paket process.
--version Display the version.
--from-bootstrapper Call comming from the '--run' feature of the bootstrapper.
--help display this list of options.
If you add the `-v` flag, then Paket will run in verbose mode and show detailed information.

Expand Down
51 changes: 1 addition & 50 deletions integrationtests/Paket.IntegrationTests/InstallSpecs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -374,55 +374,6 @@ let ``#1507 allows to download remote dependencies``() =
File.Exists (Path.Combine(scenarioTempPath scenario, "paket-files", "forki", "PrivateEye", "privateeye.fsx")) |> shouldEqual true
File.Exists (Path.Combine(scenarioTempPath scenario, "paket-files", "forki", "PrivateEye", "bin", "PrivateEye.Bridge.dll")) |> shouldEqual true

[<Test>]
let ``#1552 install mvvmlightlibs again``() =
let scenarioName = "i001552-install-mvvmlightlibs-again"
let scenarioPath = scenarioTempPath scenarioName

let expected = File.ReadAllText (Path.Combine(originalScenarioPath scenarioName,"paket.locktemplate")) |> normalizeLineEndings

let oldProjectFile = Path.Combine(originalScenarioPath scenarioName,"CSharp","CSharp.csprojtemplate")
let oldProjectFileText = File.ReadAllText oldProjectFile |> normalizeLineEndings

let newLockFilePath = Path.Combine(scenarioPath,"paket.lock")
let lockFileShouldBeConsistentAfterCommand command =
directPaketInPath command scenarioPath |> ignore

File.ReadAllText newLockFilePath |> normalizeLineEndings |> shouldEqual expected

let newProjectFile = Path.Combine(scenarioPath,"CSharp","CSharp.csproj")
File.ReadAllText newProjectFile
|> normalizeLineEndings |> shouldEqual oldProjectFileText

prepare scenarioName
let commands =
["install -f"
"update -f"
"install"
"update"]
let rnd = new Random((int)DateTime.Now.Ticks)
for x in [1..10] do
let ind = if x<=4 then x-1 else rnd.Next(commands.Length)
let command = commands.[ind]
lockFileShouldBeConsistentAfterCommand command

[<Test>]
let ``#1552 install mvvmlightlibs first time``() =
let scenarioName = "i001552-install-mvvmlightlibs-first-time"

let expected = File.ReadAllText (Path.Combine(originalScenarioPath scenarioName,"paket.locktemplate")) |> normalizeLineEndings

install scenarioName |> ignore

let newLockFilePath = Path.Combine(scenarioTempPath scenarioName,"paket.lock")
File.ReadAllText newLockFilePath |> normalizeLineEndings |> shouldEqual expected

directPaketInPath "install" (scenarioTempPath scenarioName) |> ignore
File.ReadAllText newLockFilePath |> normalizeLineEndings |> shouldEqual expected

directPaketInPath "install -f" (scenarioTempPath scenarioName) |> ignore
File.ReadAllText newLockFilePath |> normalizeLineEndings |> shouldEqual expected

[<Test>]
[<Ignore("very slow test")>]
let ``#1589 http dep restore in parallel``() =
Expand Down Expand Up @@ -549,7 +500,7 @@ let ``#1815 duplicate fsharp core reference when using netstandard1.6``() =
let lockFilePath = Paket.DependenciesFile.FindLockfile paketDependencies.DependenciesFile

// Restore
paketDependencies.Restore(false, group, [], false, true)
paketDependencies.Restore(false, group, [], false, true, false)
|> ignore
let lockFile = paketDependencies.GetLockFile()
let lockGroup = lockFile.GetGroup groupName
Expand Down

This file was deleted.

Loading