mirror of
https://github.com/vale981/riot-katex
synced 2025-03-04 16:51:37 -05:00
bump version and refine packaging script
This commit is contained in:
parent
829a75ca18
commit
9ce5352c6c
2 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Riot KaTeX for matrix.tu-dresden.de",
|
"name": "Riot KaTeX for matrix.tu-dresden.de",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
|
|
||||||
"description": "Renders formulars on matrix.tu-dresden.de chats using KaTeX.",
|
"description": "Renders formulars on matrix.tu-dresden.de chats using KaTeX.",
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
mkdir katex-riot-pub
|
mkdir -p katex-riot-pub
|
||||||
cp manifest.json riot-katex.js node_modules/katex/dist/katex.min.js node_modules/katex/dist/contrib/auto-render.min.js node_modules/katex/dist/katex.min.css katex-riot-pub
|
cp manifest.json riot-katex.js node_modules/katex/dist/katex.min.js node_modules/katex/dist/contrib/auto-render.min.js node_modules/katex/dist/katex.min.css katex-riot-pub
|
||||||
mkdir katex-riot-pub/fonts
|
mkdir -p katex-riot-pub/fonts
|
||||||
cp -r node_modules/katex/dist/fonts/*.woff2 katex-riot-pub/fonts/
|
cp -r node_modules/katex/dist/fonts/*.woff2 katex-riot-pub/fonts/
|
||||||
|
|
||||||
zip -r -FS katex-riot.zip katex-riot-pub/*
|
cd katex-riot-pub/
|
||||||
|
zip -r -FS ../katex-riot.zip *
|
||||||
|
|
Loading…
Add table
Reference in a new issue