Skip to content

Commit f25089b

Browse files
committed
Added ripgrep dependency on vcredist2015
This dependency requirement should go away once rust-lang/rust#37545 is implemented. I'm creating version 0.2.9.1, which points to upstream 0.2.9 as a package only version to get this dependency in.
1 parent 246b463 commit f25089b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

packages/ripgrep/ripgrep.nuspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
<metadata>
55
<id>ripgrep</id>
66
<title>ripgrep</title>
7-
<version>0.2.9</version>
7+
<version>0.2.9.1</version>
88
<authors>BurntSushi</authors>
99
<owners>Daniel Santa Cruz</owners>
1010
<summary>A search tool that combines the usability of ag with the raw speed of grep.</summary>
1111
<description>
1212
ripgrep is a command line search tool that combines the usability of The Silver Searcher (an ack clone)
1313
with the raw speed of GNU grep. ripgrep has first class support on Windows, Mac and Linux, with binary
1414
downloads available for every release.
15+
16+
We are currently depending on Visual C++ Redistributable for Visual Studio 2015 https://chocolatey.org/packages/vcredist2015. This will change once this https://github.com/rust-lang/rust/pull/37545 is resolved and ripgrep can statically link the CRT.
1517
</description>
1618
<projectUrl>https://github.com/BurntSushi/ripgrep</projectUrl>
1719
<projectSourceUrl>https://github.com/BurntSushi/ripgrep</projectSourceUrl>
@@ -23,6 +25,9 @@
2325
<copyright></copyright>
2426
<licenseUrl>https://github.com/BurntSushi/ripgrep/blob/0.2.9/LICENSE-MIT</licenseUrl>
2527
<requireLicenseAcceptance>false</requireLicenseAcceptance>
28+
<dependencies>
29+
<dependency id="vcredist2015" />
30+
</dependencies>
2631
</metadata>
2732
<files>
2833
<file src="tools\**" target="tools" />

packages/ripgrep/tools/chocolateyinstall.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
$ErrorActionPreference = 'Stop';
22

3+
$version = "0.2.9"
34
$packageName = $env:chocolateyPackageName
45
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
56

6-
$url = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-i686-pc-windows-msvc.zip" -f $env:chocolateyPackageVersion)
7-
$url64 = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-x86_64-pc-windows-msvc.zip" -f $env:chocolateyPackageVersion)
7+
$url = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-i686-pc-windows-msvc.zip" -f $version)
8+
$url64 = ("https://github.com/BurntSushi/ripgrep/releases/download/{0}/ripgrep-{0}-x86_64-pc-windows-msvc.zip" -f $version)
89

910
$packageArgs = @{
1011
packageName = $packageName

0 commit comments

Comments
 (0)