mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-25 08:35:42 +02:00
19 lines
317 B
Bash
19 lines
317 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
rm -rf .temp
|
|
rm -rf editor
|
|
|
|
git clone ssh://git@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
|
|
|
|
cd .temp/web-draw
|
|
pnpm install
|
|
npm run build -- --filter=@roadmapsh/dummy-editor
|
|
|
|
|
|
# Copy new editor
|
|
cp -rf packages/dummy-editor ../../editor
|
|
|
|
# Remove temp directory
|
|
rm -rf .temp |