File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 21
21
" https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-tls-authcrypt"
22
22
],
23
23
"features" : [],
24
- "targets" : [],
25
- "toolchains" : [],
24
+ "targets" : [" K64F " , " NUCLEO_F429ZI " ],
25
+ "toolchains" : [" GCC_ARM " , " ARM " ],
26
26
"auto-update" : true
27
27
},
28
28
{
Original file line number Diff line number Diff line change 9
9
import os .path
10
10
import sys
11
11
import subprocess
12
+ from shutil import rmtree
12
13
13
14
ROOT = abspath (dirname (dirname (dirname (dirname (__file__ )))))
14
15
sys .path .insert (0 , ROOT )
@@ -116,7 +117,7 @@ def source_repos(config):
116
117
name = basename (repo )
117
118
if os .path .exists (name ):
118
119
print ("'%s' example directory already exists. Deleting..." % name )
119
- subprocess . call ([ 'rm' , '-rf' , name ] )
120
+ rmtree ( name )
120
121
121
122
subprocess .call (["mbed-cli" , "import" , repo ])
122
123
You can’t perform that action at this time.
0 commit comments