1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Updated console SDK

This commit is contained in:
Eldad Fux 2020-02-24 08:43:21 +02:00
parent 42d80276a0
commit 2c5d47ec12
2 changed files with 7 additions and 1 deletions

View file

@ -145,6 +145,7 @@ return [
],
APP_PLATFORM_CONSOLE => [
'key' => APP_PLATFORM_CONSOLE,
'name' => 'Console',
'enabled' => false,
'beta' => false,
@ -159,7 +160,7 @@ return [
'family' => APP_PLATFORM_CONSOLE,
'prism' => 'console',
'source' => realpath(__DIR__ . '/../sdks/console-javascript'),
'gitUrl' => 'git@github.com:appwrite/sdk-for-console.git',
'gitUrl' => null,
'gitRepoName' => 'sdk-for-console',
'gitUserName' => 'appwrite',
],

View file

@ -151,6 +151,11 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
}
$gitUrl = $language['gitUrl'];
if(empty($gitUrl)) {
continue;
}
$gitUrl = 'git@github.com:aw-tests/'.$language['gitRepoName'].'.git';
exec('rm -rf '.$target.' && \