Skip to content

Commit

Permalink
Merge pull request #1920 from fsharp/release/rc_12
Browse files Browse the repository at this point in the history
Release Candidate 12
  • Loading branch information
matthid authored May 12, 2018
2 parents 38b77b8 + 617e5c3 commit 30dce89
Show file tree
Hide file tree
Showing 244 changed files with 7,474 additions and 6,820 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
command: |
apt-get update
apt-get install -y libunwind8 libicu52 unzip wget git
wget https://github.com/fsharp/FAKE/releases/download/5.0.0-rc010/fake-dotnetcore-ubuntu.14.04-x64.zip -O /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip
wget https://github.com/fsharp/FAKE/releases/download/5.0.0-rc011/fake-dotnetcore-ubuntu.14.04-x64.zip -O /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip
mkdir fake-dotnetcore
unzip /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-dotnetcore || echo unzip returned $?
chmod +x $PWD/fake-dotnetcore/fake
Expand Down
111 changes: 1 addition & 110 deletions .fake/build.fsx/intellisense.fsx
Original file line number Diff line number Diff line change
@@ -1,114 +1,5 @@
// This file is automatically generated by FAKE
// This file is needed for IDE support only
#if !FAKE
#r "C:\\Users\\matth\\.nuget\\packages\\system.diagnostics.fileversioninfo\\4.3.0\\lib\\net46\\System.Diagnostics.FileVersionInfo.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\chessie\\0.6.0\\lib\\net40\\Chessie.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fparsec\\1.0.3\\lib\\net40-client\\FParsecCS.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\newtonsoft.json\\11.0.2\\lib\\net45\\Newtonsoft.Json.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.diagnostics.process\\4.3.0\\lib\\net461\\System.Diagnostics.Process.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\microsoft.win32.registry\\4.4.0\\lib\\net461\\Microsoft.Win32.Registry.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\octokit\\0.29.0\\lib\\net45\\Octokit.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.collections.immutable\\1.4.0\\lib\\netstandard2.0\\System.Collections.Immutable.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.net.http\\4.3.3\\lib\\net46\\System.Net.Http.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\mono.cecil\\0.10.0\\lib\\net40\\Mono.Cecil.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.2\\lib\\net461\\System.Security.Cryptography.X509Certificates.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.componentmodel.typeconverter\\4.3.0\\lib\\net462\\System.ComponentModel.TypeConverter.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.cng\\4.4.0\\lib\\net47\\System.Security.Cryptography.Cng.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\lib\\net46\\System.Security.Cryptography.Csp.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.openssl\\4.4.0\\lib\\netstandard2.0\\System.Security.Cryptography.OpenSsl.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.xml.xpath.xdocument\\4.3.0\\lib\\net46\\System.Xml.XPath.XDocument.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.xml.xpath.xmldocument\\4.3.0\\lib\\net46\\System.Xml.XPath.XmlDocument.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.collections.specialized\\4.3.0\\lib\\net46\\System.Collections.Specialized.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\lib\\net46\\System.IO.Compression.ZipFile.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.linq.expressions\\4.3.0\\lib\\net463\\System.Linq.Expressions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.1\\lib\\net463\\System.Security.Cryptography.Algorithms.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.xml.xmldocument\\4.3.0\\lib\\net46\\System.Xml.XmlDocument.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.xml.xpath\\4.3.0\\lib\\net46\\System.Xml.XPath.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\lib\\net46\\System.Globalization.Extensions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io.compression\\4.3.0\\lib\\net46\\System.IO.Compression.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io.filesystem.watcher\\4.3.0\\lib\\net46\\System.IO.FileSystem.Watcher.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\lib\\net45\\System.Runtime.InteropServices.RuntimeInformation.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\lib\\net46\\System.Security.Cryptography.Encoding.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.xml.readerwriter\\4.3.1\\lib\\net46\\System.Xml.ReaderWriter.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.4.1\\lib\\net46\\System.Diagnostics.DiagnosticSource.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.reflection.typeextensions\\4.4.0\\lib\\net461\\System.Reflection.TypeExtensions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\lib\\net463\\System.Runtime.InteropServices.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime.serialization.formatters\\4.3.0\\lib\\net46\\System.Runtime.Serialization.Formatters.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.console\\4.3.1\\lib\\net46\\System.Console.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io.filesystem\\4.3.0\\lib\\net46\\System.IO.FileSystem.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.net.sockets\\4.3.0\\lib\\net46\\System.Net.Sockets.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.reflection\\4.3.0\\lib\\net462\\System.Reflection.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\lib\\net46\\System.Security.Cryptography.Primitives.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.buffers\\4.4.0\\lib\\netstandard2.0\\System.Buffers.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.collections.nongeneric\\4.3.0\\lib\\net46\\System.Collections.NonGeneric.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.componentmodel.primitives\\4.3.0\\lib\\net45\\System.ComponentModel.Primitives.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\lib\\net46\\System.Globalization.Calendars.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io\\4.3.0\\lib\\net462\\System.IO.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.linq\\4.3.0\\lib\\net463\\System.Linq.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\lib\\net463\\System.Text.RegularExpressions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.threading.overlapped\\4.3.0\\lib\\net46\\System.Threading.Overlapped.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.threading.tasks.extensions\\4.4.0\\lib\\netstandard2.0\\System.Threading.Tasks.Extensions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.threading.threadpool\\4.3.0\\lib\\net46\\System.Threading.ThreadPool.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\lib\\net46\\Microsoft.Win32.Primitives.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.appcontext\\4.3.0\\lib\\net463\\System.AppContext.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\lib\\net462\\System.Diagnostics.Tracing.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\lib\\net46\\System.IO.FileSystem.Primitives.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\lib\\net462\\System.Runtime.Extensions.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime.serialization.primitives\\4.3.0\\lib\\net46\\System.Runtime.Serialization.Primitives.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.accesscontrol\\4.4.1\\lib\\net461\\System.Security.AccessControl.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.threading.thread\\4.3.0\\lib\\net46\\System.Threading.Thread.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.runtime\\4.3.0\\lib\\net462\\System.Runtime.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.principal.windows\\4.4.1\\lib\\net461\\System.Security.Principal.Windows.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.4.0\\lib\\net461\\System.Security.Cryptography.ProtectedData.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.xml\\5.0.0-rc010\\lib\\net46\\Fake.Core.Xml.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.semver\\5.0.0-rc010\\lib\\net46\\Fake.Core.SemVer.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\paket.core\\5.157.0-alpha003\\lib\\net45\\Paket.Core.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.api.github\\5.0.0-rc010\\lib\\net46\\Fake.Api.GitHub.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.context\\5.0.0-rc010\\lib\\net46\\Fake.Core.Context.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.environment\\5.0.0-rc010\\lib\\net46\\Fake.Core.Environment.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.string\\5.0.0-rc010\\lib\\net46\\Fake.Core.String.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fparsec\\1.0.3\\lib\\net40-client\\FParsec.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\suave\\2.4.0\\lib\\net461\\Suave.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\system.reflection.metadata\\1.5.0\\lib\\netstandard2.0\\System.Reflection.Metadata.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\mono.cecil\\0.10.0\\lib\\net40\\Mono.Cecil.Rocks.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\mono.cecil\\0.10.0\\lib\\net40\\Mono.Cecil.Pdb.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\mono.cecil\\0.10.0\\lib\\net40\\Mono.Cecil.Mdb.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.releasenotes\\5.0.0-rc010\\lib\\net46\\Fake.Core.ReleaseNotes.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.io.filesystem\\5.0.0-rc010\\lib\\net46\\Fake.IO.FileSystem.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.commandlineparsing\\5.0.0-rc010\\lib\\net46\\Fake.Core.CommandLineParsing.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.trace\\5.0.0-rc010\\lib\\net46\\Fake.Core.Trace.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.buildserver.teamfoundation\\5.0.0-rc010\\lib\\net46\\Fake.BuildServer.TeamFoundation.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.buildserver.travis\\5.0.0-rc010\\lib\\net46\\Fake.BuildServer.Travis.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.tasks\\5.0.0-rc010\\lib\\net46\\Fake.Core.Tasks.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.testing.common\\5.0.0-rc010\\lib\\net46\\Fake.Testing.Common.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.process\\5.0.0-rc010\\lib\\net46\\Fake.Core.Process.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.assemblyinfofile\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.AssemblyInfoFile.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.io.zip\\5.0.0-rc010\\lib\\net46\\Fake.IO.Zip.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.core.target\\5.0.0-rc010\\lib\\net46\\Fake.Core.Target.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.net.http\\5.0.0-rc010\\lib\\net46\\Fake.Net.Http.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.buildserver.appveyor\\5.0.0-rc010\\lib\\net46\\Fake.BuildServer.AppVeyor.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.buildserver.teamcity\\5.0.0-rc010\\lib\\net46\\Fake.BuildServer.TeamCity.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.nuget\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.NuGet.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.testing.mspec\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.Testing.MSpec.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.testing.nunit\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.Testing.NUnit.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.testing.xunit2\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.Testing.XUnit2.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.cli\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.Cli.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.fsformatting\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.FSFormatting.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.msbuild\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.MSBuild.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.dotnet.paket\\5.0.0-rc010\\lib\\net46\\Fake.DotNet.Paket.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.tools.git\\5.0.0-rc010\\lib\\net46\\Fake.Tools.Git.dll"
#r "C:\\Users\\matth\\.nuget\\packages\\fake.windows.chocolatey\\5.0.0-rc010\\lib\\net46\\Fake.Windows.Chocolatey.dll"
#r "System"
#r "System.Core"
#r "System.Security"
#r "System.ComponentModel.Composition"
#r "System.Runtime.Serialization"
#r "System.Numerics"
#r "System.Xml"
#r "System.IO.Compression"
#r "System.Xml.Linq"
#r "System.IO.Compression.FileSystem"
#r "System.Net.Http"
#r "Microsoft.CSharp"
#r "System.Configuration"
#load "intellisense_lazy.fsx"
#endif
170 changes: 158 additions & 12 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,166 @@
image: mono:5.8.0.127
stages:
- build
# - test_package
# - staging
# - approve_prod
# - prod

before_script:
- apt-get update
- apt-get install -y libunwind8 libicu52 unzip wget git
- wget https://github.com/fsharp/FAKE/releases/download/5.0.0-beta024/fake-dotnetcore-ubuntu.14.04-x64.zip -O /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip
- mkdir fake-dotnetcore
- unzip /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-dotnetcore || echo unzip returned $?
- chmod +x $PWD/fake-dotnetcore/fake
do_build:
stage: build
image: mono:5.8.0.127
before_script:
- apt-get update
- apt-get install -y libunwind8 libicu52 unzip wget git
- wget https://github.com/fsharp/FAKE/releases/download/5.0.0-rc011/fake-dotnetcore-ubuntu.14.04-x64.zip -O /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip
- mkdir fake-dotnetcore
- unzip -n /tmp/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-dotnetcore || echo unzip returned $?
- chmod +x $PWD/fake-dotnetcore/fake

build_all:
variables:
TERM: "xterm-256color"
# PATH: $PATH:$PWD/fake-dotnetcore/
MSBUILDDISABLENODEREUSE: "1"
BuildInParallel: "false"

script: |
export PATH=$PATH:$PWD/fake-dotnetcore/
fake run build.fsx
fake run build.fsx target Release_BuildAndTest
artifacts:
paths:
- artifacts/

#do_choco_pack:
# stage: test_package
# dependencies:
# - do_build
# image: mono:5.8.0.127
# before_script:
# - apt-get update
# - apt-get install -y libunwind8 libicu52 unzip wget git apt-transport-https ca-certificates curl software-properties-common
# - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
# - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
# - apt-get update
# - apt-get install -y docker-ce
# services:
# - docker:dind
# variables:
# DOCKER_HOST: "tcp://docker:2375"
# script: |
# docker version
# unzip -n artifacts/build-cache.zip || echo unzip returned $?
# mkdir fake-bin
# unzip -n artifacts/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-bin || echo unzip returned $?
# chmod +x fake-bin/fake
# mkdir -p nuget/dotnetcore/Fake.netcore/win7-x86
# unzip -n artifacts/fake-dotnetcore-win7-x86.zip -d nuget/dotnetcore/Fake.netcore/win7-x86 || echo unzip returned $?
# unzip -n artifacts/chocolatey-requirements.zip || echo unzip returned $?
# export artifactsdirectory=$PWD/artifacts
# fake-bin/fake build target DotNetCoreCreateChocolateyPackage
#
# #- docker build -t $CI_REGISTRY_IMAGE:latest .
# #- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
# #- docker push $CI_REGISTRY_IMAGE:$CI_BUILD_TAG
#
#do_staging:
# stage: staging
# image: mono:5.8.0.127
# dependencies:
# - do_build
# before_script:
# - apt-get update
# - apt-get install -y libunwind8 libicu52 unzip wget git
# variables:
# TERM: "xterm-256color"
# MSBUILDDISABLENODEREUSE: "1"
# BuildInParallel: "false"
# nugetsource: "https://www.myget.org/F/fake/api/v2/package"
#
# script: |
# unzip -n artifacts/build-cache.zip || echo unzip returned $?
# mkdir fake-bin
# unzip -n artifacts/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-bin || echo unzip returned $?
# chmod +x fake-bin/fake
# export PATH=$PATH:$PWD/fake-bin/
# export artifactsdirectory=$PWD/artifacts
# fake run build.fsx target Release_Staging
# only:
# - /^release.*$/
# when: manual
#
# environment:
# name: staging
# url: https://staging.fake.build
#
#do_approve_prod:
# stage: approve_prod
# image: mono:5.8.0.127
# dependencies: []
# script: |
# echo "Approved!"
# only:
# - /^release.*$/
# when: manual
#
# environment:
# name: production
# url: https://fake.build
#
#do_choco_push:
# stage: prod
# dependencies:
# - do_build
# - do_choco_pack
# - do_approve_prod
# image: mono:5.8.0.127
# before_script:
# - apt-get update
# - apt-get install -y libunwind8 libicu52 unzip wget git apt-transport-https ca-certificates curl software-properties-common
# - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
# - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
# - apt-get update
# - apt-get install -y docker-ce
# services:
# - docker:dind
# variables:
# DOCKER_HOST: "tcp://docker:2375"
# script: |
# docker version
# unzip -n artifacts/build-cache.zip || echo unzip returned $?
# mkdir fake-bin
# unzip -n artifacts/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-bin || echo unzip returned $?
# chmod +x fake-bin/fake
# export artifactsdirectory=$PWD/artifacts
# fake-bin/fake build target DotNetCorePushChocolateyPackage
# only:
# - /^release.*$/
#
#do_prod:
# stage: prod
# image: mono:5.8.0.127
# dependencies:
# - do_build
# - do_staging
# - do_approve_prod
#
# before_script:
# - apt-get update
# - apt-get install -y libunwind8 libicu52 unzip wget git
#
# variables:
# TERM: "xterm-256color"
# MSBUILDDISABLENODEREUSE: "1"
# BuildInParallel: "false"
#
# script: |
# unzip -n artifacts/build-cache.zip || echo unzip returned $?
# mkdir fake-bin
# unzip -n artifacts/fake-dotnetcore-ubuntu.14.04-x64.zip -d fake-bin || echo unzip returned $?
# chmod +x fake-bin/fake
# export PATH=$PATH:$PWD/fake-bin/
# export artifactsdirectory=$PWD/artifacts
# fake run build.fsx target FastRelease
# only:
# - /^release.*$/
# environment:
# name: production
# url: https://fake.build
4 changes: 2 additions & 2 deletions .paket/Paket.Restore.targets
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@

<!-- Because ReadAllText is slow on osx/linux, try to find shasum and awk -->
<PropertyGroup>
<PaketRestoreCachedHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreCachedHasher)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketRestoreCacheFile) | /usr/bin/awk '{ print $1 }'</PaketRestoreCachedHasher>
<PaketRestoreLockFileHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreLockFileHash)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum $(PaketLockFilePath) | /usr/bin/awk '{ print $1 }'</PaketRestoreLockFileHasher>
<PaketRestoreCachedHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreCachedHasher)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum "$(PaketRestoreCacheFile)" | /usr/bin/awk '{ print $1 }'</PaketRestoreCachedHasher>
<PaketRestoreLockFileHasher Condition="'$(OS)' != 'Windows_NT' And '$(PaketRestoreLockFileHash)' == '' And Exists('/usr/bin/shasum') And Exists('/usr/bin/awk')">/usr/bin/shasum "$(PaketLockFilePath)" | /usr/bin/awk '{ print $1 }'</PaketRestoreLockFileHasher>
</PropertyGroup>

<!-- If shasum and awk exist get the hashes -->
Expand Down
Loading

0 comments on commit 30dce89

Please sign in to comment.