mirror of
https://github.com/bendtherules/opencode-multi-model.git
synced 2026-08-18 13:42:21 +00:00
feat: Add setup script for configuring git hooks
This commit is contained in:
@@ -206,6 +206,9 @@ For local development and testing without publishing:
|
||||
# Install dependencies
|
||||
bun install
|
||||
|
||||
# Setup git hooks
|
||||
bun run setup
|
||||
|
||||
# Build
|
||||
bun run build
|
||||
|
||||
|
||||
+2
-1
@@ -21,7 +21,8 @@
|
||||
"test": "bun test",
|
||||
"coverage": "bun test --coverage",
|
||||
"prepublishOnly": "bun run build",
|
||||
"release": "bash ./scripts/release.sh"
|
||||
"release": "bash ./scripts/release.sh",
|
||||
"setup": "bash ./scripts/setup.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": "^5.3.0",
|
||||
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Setup script for development environment
|
||||
|
||||
echo "Setting up git hooks..."
|
||||
git config core.hooksPath .githooks
|
||||
|
||||
echo "Setup complete!"
|
||||
Reference in New Issue
Block a user