Skip to content

Commit 5a6bc01

Browse files
authored
Merge pull request #318 from screamerbg/0.9-polishing
Support requirements.txt under the tools directory
2 parents 3cba0c0 + cbdb6bc commit 5a6bc01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed/mbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,10 +1196,10 @@ def get_requirements(self):
11961196
paths = []
11971197
mbed_os_path = self.get_os_dir()
11981198
if mbed_os_path:
1199+
paths.append([mbed_os_path, 'tools'])
11991200
paths.append([mbed_os_path])
1200-
paths.append([mbed_os_path, 'core'])
12011201
# mbed-os not identified but tools found under cwd/tools
1202-
paths.append([self.path, 'core'])
1202+
paths.append([self.path, 'tools'])
12031203
# mbed Classic deployed tools
12041204
paths.append([self.path, '.temp', 'tools'])
12051205
# current dir

0 commit comments

Comments
 (0)