mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
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
17 lines
366 B
Makefile
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/*
|