mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
Add a dist
rule to the Makefile
Summary: Adds a `dist` rule to the Makefile which builds the `dist/` directory with all of the built files in it. Test plan: - `make dist` Auditors: alpert
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,6 +1,9 @@
|
||||
.PHONY: build lint setup copy serve clean metrics test zip contrib
|
||||
.PHONY: build dist lint setup copy serve clean metrics test zip contrib
|
||||
build: setup lint build/katex.min.js build/katex.min.css contrib zip compress
|
||||
|
||||
dist: build
|
||||
cp --recursive build/katex dist
|
||||
|
||||
# Export these variables for use in contrib Makefiles
|
||||
export BUILDDIR = $(realpath build)
|
||||
export BROWSERIFY = $(realpath ./node_modules/.bin/browserify)
|
||||
|
Reference in New Issue
Block a user