6.004x Browser-based Courseware for 6.004
The tools use a Grunt-based build system to produce more compact results.
To get this set up, perform the following:
- Install
grunt-cli
globally:npm install -g grunt-cli
- Install the required modules locally:
npm install
in the root directory of this repo.
Once you're set up, you can run any of the following commands:
grunt bsim
to generate bsimgrunt jsim
to generate jsimgrunt tmsim
to generate tmsimgrunt
to generate all of the above.
In any of the above cases, they will appear in a folder called build
.
Additionally, if you have PhantomJS installed, you can run
grunt test
to run all tests (which currently only test BSim).