Git Product home page Git Product logo

mojo-standalone's Introduction

mojo-standalone

Experiment at building a minimal repo for development of standalone Mojo apps.

To see it in action, do the following on a Linux64 machine (note: nothing will work on any other OS):

$ git clone https://github.com/colinblundell/mojo-standalone.git mojo_sdk
$ cd mojo_sdk
$ ./build/install-build-deps.sh

At this point you should be ready to go forward, although I must warn you that that the script for installing build deps doesn't have any error checking.

You can run one of the supported examples:

$ ./run_example.sh echo
$ ./run_example.sh apptest

or build the entire public SDK:

$ ./buildtools/gn gen out/Debug
$ ./buildtools/ninja -C out/Debug

In this repo, mojo/public and the apps in examples/ are taken straight from the Mojo repo without modification. The rest of the repo is then built up to be a minimal self-contained framework that allows building and running the supported apps without any external dependencies other than those fetched by install-build-deps.sh.

If you have access to a Chromium checkout and a Mojo checkout, you can also rev the SDK and examples from the Mojo repo:

$ ./tools/rev_sdk.sh <path/to/chromium/src> <path/to/mojo/src>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.