Skip to content

Commit

Permalink
feat[conan remotes win] : remove conan-community remote in nsis setup
Browse files Browse the repository at this point in the history
update bincrafters remote url  and general conan configuration for bincrafters in nsis setup
  • Loading branch information
stefled committed Aug 25, 2021
1 parent 36d92fd commit 3bbfaa1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions resources/install_remaken_3rdparties.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,12 @@ SectionGroup /e "Chocolatey" CHOCO_TOOLS
;always install/update conan
;IfFileExists $1\Python3\Scripts\conan.exe conan_exists
ExecWait '$python_install_dir\Scripts\pip install --upgrade conan'
ExecWait '$python_install_dir\Scripts\conan remote add --force --insert 0 conan-community https://api.bintray.com/conan/conan-community/conan'
ExecWait '$python_install_dir\Scripts\conan remote add --force bincrafters https://api.bintray.com/conan/bincrafters/public-conan'
# remove old conan-commnunity remote
ExecWait '$python_install_dir\Scripts\conan remote remove conan-community'
# update binCrafters remote url
ExecWait '$python_install_dir\Scripts\conan remote add --force bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan'
# config for binCrafters remote
ExecWait '$python_install_dir\Scripts\conan config set general.revisions_enabled=1'
;conan_exists:
SectionEnd
Section "pkg-config" CHOCO_TOOLS_PKG_CONFIG
Expand Down

0 comments on commit 3bbfaa1

Please sign in to comment.