• James Robinson's avatar
    Adds a run_mojo command that downloads sky_viewer.mojo and runs an flx in it · 542da8cc
    James Robinson authored
    This initial version assumes the developer has mojo_shell and all other services
    sitting on disk somewhere and that they're on linux and only want to run on
    linux. This can be generalized down the line to support more use cases. This
    downloads the sky_viewer.mojo corresponding to the packages/sky_engine/REVISION
    in the developer's directory, so they can specify whatever revision they want.
    sky_tools run_mojo downloads sky_viewer.mojo into its cache directory if it is
    not present and constructs a command line to pass to mojo_shell that maps the
    shebang stamped into the flx to the downloaded sky_viewer.mojo.
    
    Since sky_viewer.mojo lives in the cloud and mojo_shell can load from the cloud
    this could also map to an https URL. This should likely be an option.
    542da8cc
Name
Last commit
Last update
..
bin Loading commit data...
lib/src Loading commit data...
test Loading commit data...
tool Loading commit data...
README.md Loading commit data...
pubspec.yaml Loading commit data...