Work on release builds
This commit is contained in:
@@ -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 .
|
||||
@@ -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'"
|
||||
Reference in New Issue
Block a user