Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloads were failing on me, simpified and removed progress indicator #530

Open
wants to merge 3 commits into
base: Stino-Dev
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixing build bug
  • Loading branch information
gogobd authored May 20, 2020
commit 11e51ec263b6fc54e5e5b5984c926bfec38cf57c
6 changes: 3 additions & 3 deletions libs/stino_runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ def get_h_path_info(project):
ext_app_path = arduino_info['ext_app_path']
platform_path = selected.get_sel_platform_path(arduino_info)

platform_paths = [platform_path, sketchbook_path, ext_app_path]
platform_paths = [sketchbook_path, platform_path, ext_app_path]
for path in platform_paths:
libraries_path = os.path.join(path, 'libraries')
paths = glob.glob(libraries_path + '/*')
Expand Down Expand Up @@ -1825,7 +1825,7 @@ def run_build_commands(cmds, msgs):
"""."""
is_ok = True
n = 0

percent = 0
non_blank_msgs = [m for m in msgs if m]
total = len(non_blank_msgs)
for cmd, msg in zip(cmds, msgs):
Expand Down Expand Up @@ -2191,7 +2191,7 @@ def build_sketch(build_info={}):
prj_src_paths, lib_src_paths, core_src_paths,
h_cpp_info)

msg = '[Step 3] Start building.'
msg = '[Step 3] Start building. %s %s' % (cmds, msgs)
build_message_queue.put(msg)
prog_bar.start(sublime.active_window().status_message,
'Building sketch')
Expand Down