Work on release builds

This commit is contained in:
Zef Hemel
2025-06-09 09:53:13 +02:00
parent 839860ade8
commit f51af7b580
9 changed files with 71 additions and 57 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
#!/bin/sh
deno task bundle
echo "Building both AMD64 and ARM64 Linux binaries"
deno task server:dist:linux-x86_64 && mv silverbullet silverbullet-amd64
deno task server:dist:linux-aarch64 && mv silverbullet silverbullet-arm64
docker build -t silverbullet .
-18
View File
@@ -1,18 +0,0 @@
#!/bin/sh
#
# Script to set up Git hooks for SilverBullet
#
# Get the directory where this script is located
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
# Get the root directory of the repository
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
# Create .git/hooks directory if it doesn't exist
mkdir -p "$REPO_ROOT/.git/hooks"
# Make Git use the hooks in .githooks
git config core.hooksPath .githooks
echo "Git hooks installed successfully from .githooks directory."
echo "To bypass hooks when committing, use 'git commit --no-verify'"