2026-09-18 17:48:04 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -euo pipefail
|
2026-09-24 02:47:46 +00:00
|
|
|
root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)
|
2026-09-18 17:48:04 +00:00
|
|
|
cd "$root"
|
|
|
|
|
[[ -f .fdroid/prepared ]]
|
|
|
|
|
rm -rf build .svelte-kit
|
|
|
|
|
pnpm exec tsc --module esnext --moduleResolution bundler --target es2020 \
|
|
|
|
|
--declaration --skipLibCheck --outDir node_modules/nostr-signer-capacitor-plugin/dist/esm \
|
|
|
|
|
.fdroid/signer/src/index.ts
|
|
|
|
|
export VITE_BUILD_HASH=$(cat .fdroid/build-hash)
|
2026-09-24 02:47:46 +00:00
|
|
|
source scripts/build/app.sh
|