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-cliglobally:npm install -g grunt-cli - Install the required modules locally:
npm installin the root directory of this repo.
Once you're set up, you can run any of the following commands:
grunt bsimto generate bsimgrunt jsimto generate jsimgrunt tmsimto generate tmsimgruntto 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).