Files
plainleaf/scripts/build_website.sh
T
Zef Hemel 64e537732b Debug: Reset Client is now called System: Wipe Client
Merged two datastores into one (for both state and files), this will trigger a resync on upgrade
2025-03-28 12:17:17 +01:00

18 lines
386 B
Bash
Executable File

#!/bin/bash -e
if [ "$1" != "local" ]; then
echo "Install Deno"
curl -fsSL https://deno.land/install.sh | sh
export PATH=~/.deno/bin:$PATH
export DENO_DIR=$PWD/deno_cache
echo "DENO_DIR: $DENO_DIR"
mkdir -p $DENO_DIR
fi
deno task clean
deno task build
deno task bundle
mkdir -p website_build
cp dist/silverbullet.js website_build/
cp install.sh website_build/