Files
KaTeX/Makefile
Emily Eisenberg b016015d4e Sync styles with khan-exercises
Summary:
Get the styles into a form that they can be directly copied over to
khan-exercises, with no changes. Mostly just changing #math to .mathmathmath
and adding a font style and size.

Test Plan: Make sure that the local test still works.

Reviewers: spicyj

Reviewed By: spicyj

Differential Revision: http://phabricator.benalpert.com/D47
2013-07-09 15:53:35 -07:00

17 lines
366 B
Makefile

.PHONY: build copy serve clean
build: build/MJLite.js
build/MJLite.js: MJLite.js parser.jison lexer.js
./node_modules/.bin/browserify $< --standalone MJLite -t ./jisonify > $@
copy: build
cp build/MJLite.js ../exercises/utils/MJLite.js
cp static/mjlite.css ../exercises/css/
cp -R static/fonts ../exercises/css/
serve:
node server.js
clean:
rm -rf build/*