@@ -25,20 +25,11 @@ VCPKG_DEFAULT_HOST_TRIPLET := VCPKG_DEFAULT_TRIPLET
2525vcpkg_root := env (' VCPKG_ROOT' , join (justfile_directory (), " ./deps/vcpkg" ))
2626in_git_repo := path_exists (join (justfile_directory (), " .git" ))
2727
28- [windows ]
29- download_vcpkg_bin :
30- - rm -rf ' {{ join (justfile_directory (), " vcpkg" )}} '
31- mkdir ' {{ join (justfile_directory (), " vcpkg" )}} '
32- git clone --depth 1 https:// github.com/ microsoft/ vcpkg.git ' {{ join (justfile_directory (), " deps" , " vcpkg" )}} '
33- curl -L --fail --show-error ' {{ vcpkg_tool_url}} ' -o ' {{ join (justfile_directory (), " deps" , " vcpkg" , " vcpkg.exe" )}} '
34-
28+ clone_vcpkg :
29+ - rm -rf ' {{ join (justfile_directory (), " build" , " vcpkg" )}} '
30+ mkdir ' {{ join (justfile_directory (), " build" )}} '
31+ git clone --depth 1 https:// github.com/ microsoft/ vcpkg.git ' {{ join (justfile_directory (), " build" , " vcpkg" )}} '
3532
36- [unix ]
37- download_vcpkg_bin :
38- - rm -rf ' {{ join (justfile_directory (), " vcpkg" )}} '
39- git clone --depth 1 https:// github.com/ microsoft/ vcpkg.git ' {{ join (justfile_directory (), " deps" , " vcpkg" )}} '
40- curl -L --fail --show-error ' {{ vcpkg_tool_url}} ' -o ' {{ join (justfile_directory (), " deps" , " vcpkg" , " vcpkg" )}} '
41- chmod + x ' {{ join (justfile_directory (), " deps" , " vcpkg" , " vcpkg" )}} '
4233
4334git_status_clean :
4435 if {{ in_git_repo}} ; then git diff --quiet --exit-code; fi
0 commit comments