I want a feature to precompile on mbed's online environment.

21 Feb 2017

I want a feature to precompile in the form of a script or batch file on mbed's online environment. I ported the Ruby virtual machine to run on mbed. However, it is necessary to precompile from Ruby source to intermediate code. For this reason Ruby intermediate compilation must be done offline.

Please tell me if there is any other good method.

mruby/c project: https://developer.mbed.org/users/tk_takateku/code/Nucleo_blink_led_for_mrubyc/

sample of precompile commands

mrbc.exe -E -Bsample1 sample1.rb
mrbc.exe -E -Bsample2 sample2.rb