silverbullet/scripts/build_website.sh

13 lines
373 B
Bash
Executable File

#!/bin/bash
rm -rf website_build
npx --yes @silverbulletmd/publish -o website_build --index website
echo "Now building Silver Bullet bundle"
curl -fsSL https://deno.land/install.sh | sh
export PATH=~/.deno/bin:$PATH
deno task build
deno task bundle
mkdir website_build/silverbullet
cp dist/silverbullet.js website_build/
cp dist_bundle/web/global.plug.json website_build/