Skip to content

Commit e81e049

Browse files
committed
bootstrap_vcpkg target
1 parent d18c6a1 commit e81e049

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vcpkg_overlay/vcpkg.just

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ clone_vcpkg:
2222
mkdir -p '{{join(justfile_directory(), "build")}}'
2323
git clone --depth 1 https://github.com/microsoft/vcpkg.git '{{join(justfile_directory(), "build", "vcpkg")}}'
2424

25+
[windows]
26+
[working-directory: '{{join(justfile_directory(), "build", "vcpkg")}}']
27+
bootstrap_vcpkg: clone_vcpkg
28+
bootstrap-vcpkg.bat
29+
30+
[unix]
31+
bootstrap_vcpkg: clone_vcpkg
32+
bash '{{join(justfile_directory(), "build", "vcpkg", "bootstrap-vcpkg.sh")}}'
2533

2634
git_status_clean:
2735
if {{in_git_repo}}; then git diff --quiet --exit-code; fi

0 commit comments

Comments
 (0)