summaryrefslogtreecommitdiffstats
path: root/web/static/js/marked/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'web/static/js/marked/Makefile')
-rw-r--r--web/static/js/marked/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/static/js/marked/Makefile b/web/static/js/marked/Makefile
new file mode 100644
index 000000000..d9349f079
--- /dev/null
+++ b/web/static/js/marked/Makefile
@@ -0,0 +1,12 @@
+all:
+ @cp lib/marked.js marked.js
+ @uglifyjs --comments '/\*[^\0]+?Copyright[^\0]+?\*/' -o marked.min.js lib/marked.js
+
+clean:
+ @rm marked.js
+ @rm marked.min.js
+
+bench:
+ @node test --bench
+
+.PHONY: clean all