From 7dd45b586be0165bff891e447c44f909b9b7b63c Mon Sep 17 00:00:00 2001 From: Malte Langkabel Date: Tue, 8 Sep 2020 18:36:40 +0200 Subject: [PATCH] build: replace winrar dependency by 7z (#1077) --- README.md | 2 +- appveyor.yml | 2 -- script/download_python_indexer.sh | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 65b461bc..dffc6c95 100644 --- a/README.md +++ b/README.md @@ -188,7 +188,7 @@ Building Sourcetrail requires several dependencies to be in place on your machin ### Required Tools -* __WinRAR (required for Windows)__ +* __7z (required for Windows)__ * __REASON__: Used to extract the prebuilt SourcetrailPythonIndexer which is downloaded automatically during build execution. ### Building diff --git a/appveyor.yml b/appveyor.yml index be7f79ce..f0b666d7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,8 +12,6 @@ install: - ninja --version before_build: - - choco install winrar -y - - SET "PATH=%PATH%;C:\Program Files\WinRAR" - mkdir build - cd build - mkdir temp diff --git a/script/download_python_indexer.sh b/script/download_python_indexer.sh index 87ce1b52..2281637b 100755 --- a/script/download_python_indexer.sh +++ b/script/download_python_indexer.sh @@ -87,7 +87,7 @@ if [ $PLATFORM == "linux" ]; then elif [ $PLATFORM == "osx" ]; then unzip -d $TEMP_PATH $TEMP_PATH/$PACKAGE_FILE_NAME elif [ $PLATFORM == "windows" ]; then - winrar x $TEMP_PATH/$PACKAGE_FILE_NAME $TEMP_PATH + 7z x $TEMP_PATH/$PACKAGE_FILE_NAME -o$TEMP_PATH fi