From 52f92bb9b1645965880968c27dca773a716f5624 Mon Sep 17 00:00:00 2001 From: Ronald Quan Date: Tue, 21 Nov 2017 16:06:56 -0800 Subject: [PATCH] =?UTF-8?q?Fixing=20naming=20convention=20for=20local=20co?= =?UTF-8?q?py=20of=20sqltoolsservice,=20removed=20l=E2=80=A6=20(#166)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixing naming convention for local copy of sqltoolsservice, removed linux i686 support. * Fixing fix path for win_amd64. --- build.py | 3 +-- mssqlscripter/mssqltoolsservice/external.py | 5 ++--- ....SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip | Bin 3 files changed, 3 insertions(+), 5 deletions(-) rename sqltoolsservice/{winamd64 => win_amd64}/Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip (100%) diff --git a/build.py b/build.py index c6c00db..833a756 100644 --- a/build.py +++ b/build.py @@ -153,8 +153,7 @@ def publish_official(platforms_names): 'win32', 'win_amd64', 'macosx_10_11_intel', - 'manylinux1_x86_64', - 'manylinux1_i686'] + 'manylinux1_x86_64'] targets = { 'build': build, diff --git a/mssqlscripter/mssqltoolsservice/external.py b/mssqlscripter/mssqltoolsservice/external.py index bd0e376..e3605eb 100644 --- a/mssqlscripter/mssqltoolsservice/external.py +++ b/mssqlscripter/mssqltoolsservice/external.py @@ -19,9 +19,8 @@ # Supported platform key's must match those in mssqlscript's setup.py. SUPPORTED_PLATFORMS = { 'manylinux1_x86_64': SQLTOOLSSERVICE_BASE + 'manylinux1/' + 'Microsoft.SqlTools.ServiceLayer-linux-x64-netcoreapp2.0.tar.gz', - 'manylinux1_i686': SQLTOOLSSERVICE_BASE + 'manylinux1/' + 'Microsoft.SqlTools.ServiceLayer-linux-x64-netcoreapp2.0.tar.gz', 'macosx_10_11_intel': SQLTOOLSSERVICE_BASE + 'macosx_10_11_intel/' + 'Microsoft.SqlTools.ServiceLayer-osx-x64-netcoreapp2.0.tar.gz', - 'win_amd64': SQLTOOLSSERVICE_BASE + 'winamd64/' + 'Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip', + 'win_amd64': SQLTOOLSSERVICE_BASE + 'win_amd64/' + 'Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip', 'win32': SQLTOOLSSERVICE_BASE + 'win32/' + 'Microsoft.SqlTools.ServiceLayer-win-x86-netcoreapp2.0.zip' } @@ -38,7 +37,7 @@ def copy_sqltoolsservice(platform): if not platform or platform not in SUPPORTED_PLATFORMS: print('{} is not supported.'.format(platform)) print('Please provide a valid platform flag.' + - '[win32, win_amd64, manylinux1_x86_64, manylinux1_i686, macosx_10_11_intel]') + '[win32, win_amd64, manylinux1_x86_64, macosx_10_11_intel]') sys.exit(1) copy_file_path = SUPPORTED_PLATFORMS[platform] diff --git a/sqltoolsservice/winamd64/Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip b/sqltoolsservice/win_amd64/Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip similarity index 100% rename from sqltoolsservice/winamd64/Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip rename to sqltoolsservice/win_amd64/Microsoft.SqlTools.ServiceLayer-win-x64-netcoreapp2.0.zip