Compare commits

..

3 Commits

Author SHA1 Message Date
doylet
4c0a59e0a3 linux: Add Go checksum for 1.20.1 2023-10-16 09:34:31 +11:00
doylet
7b53a7b88b Use installed MSVC 2023-10-16 09:34:31 +11:00
doyle
6db4f1c440 Add go 1.20.1 2023-10-16 09:34:31 +11:00

View File

@ -1287,25 +1287,6 @@ def get_manifest(is_windows):
checksum = "" checksum = ""
add_to_devenv_script = [] add_to_devenv_script = []
fd_args='''fd \
--type file \
--no-ignore-vcs \
--strip-cwd-prefix \
--hidden \
--follow \
--exclude .git \
--exclude .cache \
--exclude .vs \
--exclude "*.dll" \
--exclude "*.exe" \
--exclude "*.lib" \
--exclude "*.obj" \
--exclude "*.pdb" \
--exclude "*.so" \
--exclude "*.tar" \
--exclude "*.zip" \
'''
if is_windows: if is_windows:
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-pc-windows-msvc.zip" download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-pc-windows-msvc.zip"
download_checksum = "657cf430a1b349ce2b9cceeaed0b14220a417bbf24a85995aa6fbf8f746f4e03" download_checksum = "657cf430a1b349ce2b9cceeaed0b14220a417bbf24a85995aa6fbf8f746f4e03"
@ -1313,7 +1294,7 @@ def get_manifest(is_windows):
exe_path = "fd.exe" exe_path = "fd.exe"
add_to_devenv_script = [ add_to_devenv_script = [
"set FZF_DEFAULT_OPTS=--multi --layout=reverse", "set FZF_DEFAULT_OPTS=--multi --layout=reverse",
f"set FZF_DEFAULT_COMMAND={fd_args}" "set FZF_DEFAULT_COMMAND=fd --type f --strip-cwd-prefix --hidden --follow --exclude .git --exclude .cache --exclude .vs",
] ]
else: else:
download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-unknown-linux-musl.tar.gz" download_url = f"https://github.com/sharkdp/fd/releases/download/v{version}/fd-v{version}-x86_64-unknown-linux-musl.tar.gz"
@ -1322,9 +1303,10 @@ def get_manifest(is_windows):
exe_path = "fd" exe_path = "fd"
add_to_devenv_script = [ add_to_devenv_script = [
"FZF_DEFAULT_OPTS=\"--multi --layout=reverse\"", "FZF_DEFAULT_OPTS=\"--multi --layout=reverse\"",
f"FZF_DEFAULT_COMMAND=\"{fd_args}\"" "FZF_DEFAULT_COMMAND=\"fd --type f --strip-cwd-prefix --hidden --follow --exclude .git --exclude .cache --exclude .vs\"",
] ]
result.append({ result.append({
"label": "Fd", "label": "Fd",
"manifests": [ "manifests": [