mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-21 17:26:45 +02:00
fix: clone if editor doesnt exist in script
This commit is contained in:
@@ -19,6 +19,9 @@ pnpm build:esbuild
|
|||||||
pnpm build:types
|
pnpm build:types
|
||||||
|
|
||||||
# Clone the Mermaid Live Editor repository
|
# Clone the Mermaid Live Editor repository
|
||||||
|
if [ ! -d "mermaid-live-editor" ]; then
|
||||||
|
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git
|
||||||
|
fi
|
||||||
cd mermaid-live-editor
|
cd mermaid-live-editor
|
||||||
git clean -xdf
|
git clean -xdf
|
||||||
rm -rf docs/
|
rm -rf docs/
|
||||||
|
Reference in New Issue
Block a user