intel / zephyr.js

JavaScript* Runtime for Zephyr* OS
Other
180 stars 64 forks source link

[build] Only checkout submodule if not found #1855

Closed jimmy-huang closed 6 years ago

jimmy-huang commented 6 years ago

This fixes a non-desired behavior that git submodule update will always be called when building, and it will immediately checkout jerryscript at the desired commit, causing that repo to switch from the working branch into a detached head state.

Signed-off-by: Jimmy Huang jimmy.huang@intel.com

grgustaf commented 6 years ago

LGTM +1, I'll make up for not adequately considering the last patch by rushing this one through too. :)