Skip to content

Commit

Permalink
v1.33.0 (#218)
Browse files Browse the repository at this point in the history
* v1.33.0
* fix android sdk setup o Windoes
* android sdk avd-list command
  • Loading branch information
VladyslavKurmaz authored Sep 21, 2021
1 parent a232f65 commit 087343d
Show file tree
Hide file tree
Showing 14 changed files with 46 additions and 30 deletions.
2 changes: 1 addition & 1 deletion components/amazon/aws-cli/components.js

Large diffs are not rendered by default.

51 changes: 33 additions & 18 deletions components/android/android-sdk/.tln.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ module.exports = {
.option('package', { describe: 'SDK package id', default: [], type: 'array' });
},
env: async (tln, env) => {
// env.ANDROID_HOME = env.TLN_COMPONENT_HOME; DEPRICATED
env.ANDROID_HOME = env.TLN_COMPONENT_HOME; //DEPRICATED
env.ANDROID_SDK_ROOT = env.TLN_COMPONENT_HOME;
env.PATH = [
path.join(env.TLN_COMPONENT_HOME, 'emulator'),
path.join(env.TLN_COMPONENT_HOME, 'tools'),
path.join(env.TLN_COMPONENT_HOME, 'cmdline-tools', 'latest', 'bin'),
path.join(env.TLN_COMPONENT_HOME, 'platform-tools'),
Expand All @@ -37,22 +38,26 @@ module.exports = {
if (version && tln.canInstallComponent(tln, id, home)) {
script.set(
['mkdir latest'].concat(tln.getDownloadScript(tln, {
'linux': {
name: `commandlinetools-linux-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-linux-${version}_latest.zip`
},
'darwin': {
name: `commandlinetools-mac-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-mac-${version}_latest.zip`
},
'win32': {
name: `commandlinetools-win-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-win-${version}_latest.zip`
}
}), ['mv latest cmdline-tools/']));
'linux': {
name: `commandlinetools-linux-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-linux-${version}_latest.zip`,
cmd: 'mv latest cmdline-tools/'
},
'darwin': {
name: `commandlinetools-mac-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-mac-${version}_latest.zip`,
cmd: 'mv latest cmdline-tools/'
},
'win32': {
name: `commandlinetools-win-${version}_latest.zip`,
opts: { src: `cmdline-tools`, flt: '*', dest: `latest/`, rmv: null},
url: `https://dl.google.com/android/repository/commandlinetools-win-${version}_latest.zip`,
cmd: 'move latest cmdline-tools/latest'
}
}))
);
}
}
},
Expand Down Expand Up @@ -87,7 +92,17 @@ module.exports = {
builder: async (tln, script) => script.set([
'sdkmanager --update'
])
}
},
{
id: 'avd-list',
filter: '',
builder: async (tln, script) => script.set([
'sdkmanager --update'
])
},

//avdmanager list

],
components: async (tln) => [
{ id: 'android-sdk-6200805' },
Expand Down
2 changes: 1 addition & 1 deletion components/angular/components.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/bitcoin-core/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/cmake/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/flutter/components.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 087343d

Please sign in to comment.