feat: add build and develop scripts with pnpm support

This commit is contained in:
mik-tf
2025-11-26 09:14:27 -05:00
parent cc375c417a
commit 8de23fa9f9
3 changed files with 12371 additions and 0 deletions

14
build.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -ex
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${script_dir}"
echo "Docs directory: $script_dir"
# pnpm install .
pnpm run build .
# next will sync to server on https://docs.projectmycelium.com
rsync -rv --delete ${script_dir}/build/ root@threefold.info:/root/hero/www/info/docs_projectmycelium/