Migrated silverbullet-publish into this repo

This commit is contained in:
Zef Hemel
2022-11-01 17:03:42 +01:00
parent 3d671e8195
commit c4f80589f3
18 changed files with 567 additions and 18 deletions
+5 -2
View File
@@ -1,7 +1,5 @@
#!/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
@@ -11,6 +9,11 @@ echo "Generating version number..."
echo "export const version = '$(git rev-parse HEAD)';" > version.ts
echo "Building..."
deno task build
deno task install
rm -rf website_build
silverbullet publish -o website_build --index website
echo "Bundling..."
deno task bundle
cp dist/silverbullet.js website_build/